diff --git a/deploy.py b/deploy.py index c3b661f..3a58b87 100644 --- a/deploy.py +++ b/deploy.py @@ -58,11 +58,11 @@ mysql.database( files.download( name='Download undocker', src=host.data.undocker_url, - dest='/usr/local/bin/undocker', + dest=host.data.undocker_bin, user='root', group='root', mode='755', - sha256sum='b937e69e774c530c080c1f6685763ca7db4dc58520a5a2054d111e1504f47688', + sha256sum=host.data.undocker_sha256, ) files.directory( diff --git a/group_data/all.py b/group_data/all.py index 26882f0..6349cf9 100644 --- a/group_data/all.py +++ b/group_data/all.py @@ -1,5 +1,7 @@ # Undocker undocker_url='https://git.sr.ht/~motiejus/undocker/refs/download/v1.0.2/undocker-linux-amd64-v1.0.2' +undocker_sha256='b937e69e774c530c080c1f6685763ca7db4dc58520a5a2054d111e1504f47688' +undocker_bin='/usr/local/bin/undocker' undocker_dst='/opt/photoprism' undocker_cache='/var/cache/undocker'