all-in-one/Containers/borgbackup/Dockerfile
szaimen 8ce55a1334 migrate borgbackup to alpine
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-02 15:21:34 +01:00

19 lines
No EOL
301 B
Docker

FROM alpine:3.15.0
RUN set -ex; \
\
apk add --update --no-cache \
bash \
borgbackup \
rsync \
fuse3
VOLUME /root
COPY start.sh /usr/bin/
COPY backupscript.sh /
RUN chmod +x /usr/bin/start.sh; \
chmod +x /backupscript.sh
USER root
ENTRYPOINT ["start.sh"]