forked from coop-cloud/backup-bot-two
Work-in-progress: split S3 & SSH storage
This commit is contained in:
@ -3,12 +3,13 @@ FROM docker:19.03.13-dind
|
||||
RUN apk add --upgrade --no-cache \
|
||||
bash \
|
||||
curl \
|
||||
jq \
|
||||
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"]
|
||||
RUN echo "* * * * * /usr/bin/backup.sh" | crontab -
|
||||
RUN crontab -l
|
||||
|
||||
ENTRYPOINT ["crond", "-f", "-L", "/dev/stdout"]
|
||||
|
Reference in New Issue
Block a user