all-in-one/Containers/borgbackup/Dockerfile

21 lines
325 B
Text
Raw Normal View History

FROM alpine:3.17.1
2021-11-30 18:20:42 +08:00
RUN set -ex; \
\
apk add --no-cache \
bash \
borgbackup \
2021-11-30 18:20:42 +08:00
rsync \
fuse \
py3-llfuse \
jq
2021-11-30 18:20:42 +08:00
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"]