1
0
Fork 0
mirror of https://github.com/Luzifer/vault-unseal.git synced 2024-12-22 22:01:20 +00:00
vault-unseal/Dockerfile

12 lines
338 B
Text
Raw Normal View History

2016-07-20 06:41:40 +00:00
FROM golang:alpine
ADD . /go/src/github.com/Jimdo/vault-unseal
WORKDIR /go/src/github.com/Jimdo/vault-unseal
RUN set -ex \
&& apk add --update git ca-certificates \
&& go install -ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)" \
&& apk del --purge git
ENTRYPOINT ["/go/bin/vault-unseal"]