Variables, Dockerfile, better syntax, etc.

This commit is contained in:
3wc
2021-11-06 19:45:39 +02:00
parent 49ed657084
commit 8317f50a8a
5 changed files with 80 additions and 24 deletions

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM docker:19.03.13-dind
RUN apk add --upgrade --no-cache \
bash \
curl \
restic
RUN curl -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 --output /usr/bin/jq
RUN chmod +x /usr/bin/jq
COPY backup.sh /usr/bin/backup.sh
RUN chmod +x /usr/bin/backup.sh
ENTRYPOINT ["/usr/bin/backup.sh"]