Dockerfile: Pin restic version, install package, fix entrypoint

This commit is contained in:
Einar Forselv 2019-11-15 10:51:47 +01:00
parent 4b9748a0c8
commit f8d32af313
1 changed files with 3 additions and 3 deletions

View File

@ -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"]