add Dockerfile

This commit is contained in:
2026-02-08 21:39:02 +00:00
parent a1abfe1bfa
commit 68ab39013a
3 changed files with 61 additions and 20 deletions

8
Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM restic/restic:0.18.1
RUN apk add --no-cache openssh-client bash
COPY scripts/restic.bash /usr/local/bin/backup-entrypoint.sh
RUN chmod +x /usr/local/bin/backup-entrypoint.sh
ENTRYPOINT ["/usr/local/bin/backup-entrypoint.sh"]