2023-02-13 21:04:00 +08:00
|
|
|
FROM alpine:3.17.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
|
|
|
|
|
|
|
|
COPY start.sh /usr/bin/
|
|
|
|
COPY backupscript.sh /
|
|
|
|
RUN chmod +x /usr/bin/start.sh; \
|
|
|
|
chmod +x /backupscript.sh
|
|
|
|
|
|
|
|
USER root
|
2023-01-30 21:54:09 +08:00
|
|
|
ENTRYPOINT ["start.sh"]
|
2023-01-30 22:33:12 +08:00
|
|
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|