backup-docker/Dockerfile
Djeeberjr 505d6d4d44
All checks were successful
continuous-integration/drone/push Build is passing
added postgress support
2022-03-20 21:06:53 +01:00

18 lines
351 B
Docker

FROM restic/restic
RUN apk add --no-cache mysql-client rclone bash fuse postgresql-client
RUN mkdir /app && mkdir /config
COPY setup.sh /app/setup.sh
COPY backup.sh /app/backup.sh
COPY interactive.sh /app/interactive.sh
COPY restore.sh /app/restore.sh
# COPY mysql.sh /app/mysql.sh
WORKDIR /config
VOLUME /config
ENTRYPOINT [ "/app/backup.sh" ]