forked from coop-cloud/backup-bot-two
Variables, Dockerfile, better syntax, etc.
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user