mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-09-29 18:14:50 +08:00
Signed-off-by: Tim Diels <tim@diels.me> Signed-off-by: Simon L. <szaimen@e.mail.de> Co-authored-by: Simon L. <szaimen@e.mail.de>
27 lines
535 B
Docker
27 lines
535 B
Docker
# syntax=docker/dockerfile:latest
|
|
FROM alpine:3.20.3
|
|
|
|
RUN set -ex; \
|
|
\
|
|
apk upgrade --no-cache -a; \
|
|
apk add --no-cache \
|
|
util-linux-misc \
|
|
bash \
|
|
borgbackup \
|
|
rsync \
|
|
fuse \
|
|
py3-llfuse \
|
|
jq \
|
|
openssh-client
|
|
|
|
VOLUME /root
|
|
|
|
COPY --chmod=770 *.sh /
|
|
COPY borg_excludes /
|
|
|
|
ENTRYPOINT ["/start.sh"]
|
|
# hadolint ignore=DL3002
|
|
USER root
|
|
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|
|
ENV BORG_RETENTION_POLICY="--keep-within=7d --keep-weekly=4 --keep-monthly=6"
|