From f8d32af3136d93df1095d45acb7b10ed240694c9 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Fri, 15 Nov 2019 10:51:47 +0100 Subject: [PATCH] Dockerfile: Pin restic version, install package, fix entrypoint --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a6f243c..ca4f188 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM restic/restic +FROM restic/restic:0.9.5 RUN apk update && apk add python3 dcron mariadb-client postgresql-client ADD . /restic-volume-backup WORKDIR /restic-volume-backup -RUN pip3 install -U pip setuptools && python3 setup.py develop +RUN pip3 install -U pip setuptools && python3 setup.py develop && pip3 install . ENTRYPOINT [] -CMD ["/restic-backup/entrypoint.sh"] +CMD ["./entrypoint.sh"]