all-in-one/Containers/borgbackup/Dockerfile
Simon L ab3ef06581 migrate borgbackup to alpine
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-15 18:27:12 +01:00

21 lines
325 B
Docker

FROM alpine:3.17.1
RUN set -ex; \
\
apk add --no-cache \
bash \
borgbackup \
rsync \
fuse \
py3-llfuse \
jq
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"]