Add Dockerfile

This commit is contained in:
Andras Schmelczer 2024-05-23 08:05:11 +01:00
parent 1b95abb89f
commit 727056daed
2 changed files with 16 additions and 0 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM alpine:3.18.2
USER root
RUN apk --no-cache add btrfs-progs openssh borgbackup bash coreutils
COPY id_rsa /id_rsa
COPY ssh_config /etc/ssh/
COPY src /src
COPY exclude.conf /exclude.conf
ENTRYPOINT ["sh", "-c", "/src/schedule.sh"]