add backup image

This commit is contained in:
Morten Olsen
2025-09-05 23:07:28 +02:00
parent 0c53bf72e4
commit a27dd320e6
219 changed files with 184 additions and 161 deletions

10
images/backup/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM alpine/git:latest
# or a more specific image like a Debian slim or Ubuntu base image.
RUN apk add --no-cache restic fuse-overlayfs
WORKDIR /app
COPY backup.sh /app/backup.sh
COPY cleanup.sh /app/cleanup.sh
# Make scripts executable
RUN chmod +x /app/backup.sh /app/cleanup.sh