From 65686cd89149ae15b52fc672d7863ec7b1953c18 Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 19 Dec 2023 01:16:12 +0100 Subject: [PATCH] Fix python package install error --- compose.yml | 1 + entrypoint.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/compose.yml b/compose.yml index 84cc8b2..3a0292d 100644 --- a/compose.yml +++ b/compose.yml @@ -27,6 +27,7 @@ services: target: /usr/bin/backup mode: 0555 entrypoint: ['/entrypoint.sh'] + #entrypoint: ['tail', '-f','/dev/null'] healthcheck: test: "pgrep crond" interval: 30s diff --git a/entrypoint.sh b/entrypoint.sh index 932f2b0..2f9c708 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,10 +2,10 @@ 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 -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" ] then