mirror of
https://github.com/Luzifer/vault-unseal.git
synced 2024-12-22 05:41:20 +00:00
add dockerized version
This commit is contained in:
parent
5d1ae10bae
commit
fd41aad0f3
1 changed files with 11 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue