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
|
|
|
|
COPY mysql.sh /app/mysql.sh
|
2021-03-29 20:28:09 +00:00
|
|
|
|
|
|
|
WORKDIR /config
|
|
|
|
|
|
|
|
VOLUME /config
|
|
|
|
|
2021-11-10 20:27:49 +00:00
|
|
|
ENTRYPOINT /app/backup.sh
|