initial commit master
authorChristoph Helma <helma@in-silico.ch>
Thu, 18 Jul 2019 08:44:23 +0000 (10:44 +0200)
committerChristoph Helma <helma@in-silico.ch>
Thu, 18 Jul 2019 08:44:23 +0000 (10:44 +0200)
Dockerfile [new file with mode: 0644]

diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..98c6316
--- /dev/null
@@ -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"]