summaryrefslogtreecommitdiff
path: root/catlfish-rel/Dockerfile
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-05-26 15:18:54 +0200
committerLinus Nordberg <linus@nordberg.se>2015-05-26 15:18:54 +0200
commita8126b37d4ef973092c1adf4d8238509de21542b (patch)
tree3c3ba32ac71e3df7c3744e3ac84a21be3ec344b2 /catlfish-rel/Dockerfile
Initial commit.
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"]