summaryrefslogtreecommitdiff
path: root/catlfish-rel/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'catlfish-rel/Dockerfile')
-rw-r--r--catlfish-rel/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/catlfish-rel/Dockerfile b/catlfish-rel/Dockerfile
new file mode 100644
index 0000000..07b3fe4
--- /dev/null
+++ b/catlfish-rel/Dockerfile
@@ -0,0 +1,16 @@
+FROM base
+RUN apt-get update
+RUN echo 'debconf debconf/frontend select noninteractive' | debconf-set-selections
+RUN apt-get -y -q install gpg
+
+WORKDIR /tmp
+
+RUN curl -O https://www.ct.nordu.net/releases/catlfish-0.3.0.amd64.tar.xz.asc
+RUN curl -O https://www.ct.nordu.net/releases/catlfish-0.3.0.amd64.tar.xz
+RUN gpg --verify catlfish.tar.xz.asc catlfish.tar.xz || exit 1
+
+WORKDIR /var/run/catlfish
+ADD merge.sh /usr/local/catlfish/
+ADD start.sh /var/run/catlfish/
+USER catlfish
+ENTRYPOINT ["/var/run/catlfish/start.sh"]