2023-06-15 20:39:51 +08:00
|
|
|
FROM alpine:3.18.2
|
2021-11-30 18:20:42 +08:00
|
|
|
|
|
|
|
RUN set -ex; \
|
|
|
|
\
|
2022-12-23 00:50:49 +08:00
|
|
|
apk add --no-cache \
|
2023-02-20 17:47:11 +08:00
|
|
|
util-linux-misc \
|
2022-12-23 00:50:49 +08:00
|
|
|
bash \
|
|
|
|
borgbackup \
|
2021-11-30 18:20:42 +08:00
|
|
|
rsync \
|
2022-03-09 20:49:09 +08:00
|
|
|
fuse \
|
2022-12-23 00:50:49 +08:00
|
|
|
py3-llfuse \
|
|
|
|
jq
|
2021-11-30 18:20:42 +08:00
|
|
|
|
|
|
|
VOLUME /root
|
|
|
|
|
2023-05-03 23:42:04 +08:00
|
|
|
COPY --chmod=770 *.sh /
|
|
|
|
|
|
|
|
ENTRYPOINT ["/start.sh"]
|
2023-06-03 20:56:05 +08:00
|
|
|
USER root
|
2021-11-30 18:20:42 +08:00
|
|
|
|
2023-01-30 22:33:12 +08:00
|
|
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
2023-04-27 22:01:16 +08:00
|
|
|
ENV BORG_RETENTION_POLICY="--keep-within=7d --keep-weekly=4 --keep-monthly=6"
|