all-in-one/Containers/borgbackup/Dockerfile
szaimen e7ec998913 fix backup container build
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-09 13:23:44 +01:00

24 lines
No EOL
454 B
Docker

FROM alpine:3.15.0
RUN set -ex; \
\
apk add --update --no-cache \
bash \
borgbackup \
rsync \
fuse
Run set -ex; \
\
echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
apk add --update --no-cache py3-llfuse
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"]