mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 11:35:56 +08:00
c671018798
Signed-off-by: Zoey <zoey@z0ey.de>
25 lines
489 B
Docker
25 lines
489 B
Docker
# syntax=docker/dockerfile:latest
|
|
FROM alpine:3.19.1
|
|
|
|
RUN set -ex; \
|
|
\
|
|
apk upgrade --no-cache -a; \
|
|
apk add --no-cache \
|
|
util-linux-misc \
|
|
bash \
|
|
borgbackup \
|
|
rsync \
|
|
fuse \
|
|
py3-llfuse \
|
|
jq
|
|
|
|
VOLUME /root
|
|
|
|
COPY --chmod=770 *.sh /
|
|
|
|
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"
|