all-in-one/Containers/borgbackup/Dockerfile
Zoey 9ba0dbf6a3
add # syntax=docker/dockerfile:latest
Signed-off-by: Zoey <zoey@z0ey.de>
2024-02-16 16:21:18 +01:00

24 lines
456 B
Docker

# syntax=docker/dockerfile:latest
FROM alpine:3.19.1
RUN set -ex; \
\
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"