mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-07 22:27:42 +08:00
22 lines
391 B
Text
22 lines
391 B
Text
|
FROM debian:bullseye
|
||
|
|
||
|
RUN set -ex; \
|
||
|
\
|
||
|
apt-get update; \
|
||
|
apt-get install -y --no-install-recommends \
|
||
|
borgbackup \
|
||
|
rsync \
|
||
|
fuse \
|
||
|
python3-llfuse \
|
||
|
; \
|
||
|
rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
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"]
|