backup-container/Dockerfile

12 lines
279 B
Docker

FROM alpine:3.20.0
# this is the default, but just to be explicit
USER root
RUN apk --no-cache add btrfs-progs openssh borgbackup bash coreutils
COPY src /src
COPY config/ssh_config /etc/ssh/
COPY config/exclude.conf /exclude.conf
ENTRYPOINT ["sh", "-c", "/src/schedule.sh"]