1
0
Fork 0
mirror of https://github.com/Luzifer/vault-unseal.git synced 2024-10-18 08:04:20 +00:00

add dockerized version

This commit is contained in:
Knut Ahlers 2016-07-20 08:41:40 +02:00
parent 5d1ae10bae
commit fd41aad0f3
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
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"]