summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 3db72513a661071293164061cc855c20f2876869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"]