backup-docker/Dockerfile

19 lines
333 B
Docker
Raw Normal View History

2021-11-10 20:27:49 +00:00
FROM restic/restic
2021-03-29 20:28:09 +00:00
2021-11-10 20:27:49 +00:00
RUN apk add --no-cache mysql-client rclone bash fuse
2021-03-29 20:28:09 +00:00
RUN mkdir /app && mkdir /config
2021-11-10 20:27:49 +00:00
COPY setup.sh /app/setup.sh
COPY backup.sh /app/backup.sh
COPY interactive.sh /app/interactive.sh
2022-02-15 10:22:44 +00:00
# COPY mysql.sh /app/mysql.sh
2021-03-29 20:28:09 +00:00
WORKDIR /config
VOLUME /config
2022-02-15 10:32:53 +00:00
ENTRYPOINT [ "/app/setup.sh" ]
CMD [ "bash","/app/backup.sh" ]