Fix python package install error
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
ac055c932e
commit
65686cd891
|
@ -27,6 +27,7 @@ services:
|
||||||
target: /usr/bin/backup
|
target: /usr/bin/backup
|
||||||
mode: 0555
|
mode: 0555
|
||||||
entrypoint: ['/entrypoint.sh']
|
entrypoint: ['/entrypoint.sh']
|
||||||
|
#entrypoint: ['tail', '-f','/dev/null']
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "pgrep crond"
|
test: "pgrep crond"
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
set -e -o pipefail
|
set -e -o pipefail
|
||||||
|
|
||||||
apk add --upgrade --no-cache restic bash python3 py3-pip
|
apk add --upgrade --no-cache restic bash python3 py3-pip py3-click py3-docker-py py3-json-logger
|
||||||
|
|
||||||
# Todo use requirements file with specific versions
|
# Todo use requirements file with specific versions
|
||||||
pip install click==8.1.7 docker==6.1.3 resticpy==1.0.2 python-json-logger==2.0.7
|
pip install --break-system-packages resticpy==1.0.2
|
||||||
|
|
||||||
if [ -n "$SSH_HOST_KEY" ]
|
if [ -n "$SSH_HOST_KEY" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue