mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-21 12:57:48 +08:00
65a9fe4c95
Signed-off-by: Simon L <szaimen@e.mail.de>
24 lines
487 B
Docker
24 lines
487 B
Docker
FROM alpine:3.17.3
|
|
|
|
RUN set -ex; \
|
|
\
|
|
apk add --no-cache \
|
|
util-linux-misc \
|
|
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"]
|
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
ENV BORG_RETENTION_POLICY="--keep-within=7d --keep-weekly=4 --keep-monthly=6"
|