mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2026-02-04 17:30:05 +00:00
Dockerfile: Pin restic version, install package, fix entrypoint
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
FROM restic/restic
|
FROM restic/restic:0.9.5
|
||||||
|
|
||||||
RUN apk update && apk add python3 dcron mariadb-client postgresql-client
|
RUN apk update && apk add python3 dcron mariadb-client postgresql-client
|
||||||
|
|
||||||
ADD . /restic-volume-backup
|
ADD . /restic-volume-backup
|
||||||
WORKDIR /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 []
|
ENTRYPOINT []
|
||||||
CMD ["/restic-backup/entrypoint.sh"]
|
CMD ["./entrypoint.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user