backup-container/Dockerfile
dependabot[bot] c65b29f039
Bump alpine from 3.21.3 to 3.23.3
Bumps alpine from 3.21.3 to 3.23.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: 3.23.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-29 00:34:20 +00:00

21 lines
482 B
Docker

FROM alpine:3.23.3
# this is the default, but just to be explicit
USER root
RUN apk --no-cache add \
btrfs-progs \
openssh \
bash \
coreutils \
borgbackup=1.4.0-r0
COPY src /src
COPY config/ssh_config /etc/ssh/
COPY config/exclude.conf /exclude.conf
# Add healthcheck to verify backup completed within allowed time
ENV MAX_BACKUP_AGE_SECONDS=86400
HEALTHCHECK --interval=10s --timeout=10s CMD /src/healthcheck.sh
ENTRYPOINT ["sh", "-c", "/src/schedule.sh"]