summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-05-19 21:18:43 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-05-19 21:23:30 +0200
commit36ef789f056d9ba55810c0a21bc4560b13325e74 (patch)
tree1b029c8b9f524e2c5e2772f89313b148da5a07c3 /Dockerfile
parentfixed default config (diff)
upgraded to lates release
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..3db7251
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,19 @@
+FROM debian:jessie
+
+RUN apt-get update
+
+RUN apt-get install -y curl
+
+ENV VANITY_VERSION 0.1.3
+
+ENV VANITY_URL https://github.com/xiam/vanity/releases/download/v${VANITY_VERSION}/vanity_linux_amd64.gz
+
+RUN curl --silent -L ${VANITY_URL} | gzip -d > /bin/vanity
+
+RUN chmod +x /bin/vanity
+
+RUN mkdir -p /var/run/vanity
+
+EXPOSE 8080
+
+ENTRYPOINT ["/bin/vanity"]