all-in-one/Containers/borgbackup/Dockerfile

22 lines
405 B
Text
Raw Normal View History

FROM debian:bullseye-20220316-slim
2021-11-30 18:20:42 +08:00
RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
2021-11-30 18:20:42 +08:00
borgbackup \
rsync \
fuse \
python3-llfuse \
; \
rm -rf /var/lib/apt/lists/*
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"]