diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..98c6316 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM alpine:latest + +RUN apk update +RUN apk --no-cache add openssh-client borgbackup +RUN mkdir -p /root/.ssh && chmod 700 /root/.ssh +RUN mkdir -p /root/.cache/borg +RUN mkdir -p /root/.config/borg + +WORKDIR /borg +VOLUME ["/root/.cache/borg", "/root/.config/borg", "/root/.ssh"] + +ENTRYPOINT ["borg"] |