16 lines
332 B
Docker
16 lines
332 B
Docker
|
FROM docker.io/rockdrilla/vault:deps
|
||
|
SHELL [ "/bin/sh", "-ec" ]
|
||
|
|
||
|
ARG VAULT_VERSION
|
||
|
ENV VAULT_VERSION=${VAULT_VERSION}
|
||
|
|
||
|
ARG PLATFORM_SUFFIX
|
||
|
COPY /vault-v${VAULT_VERSION}${PLATFORM_SUFFIX} /usr/local/bin/vault
|
||
|
COPY /docker-entrypoint.sh /usr/local/bin/
|
||
|
|
||
|
## qa/smoke
|
||
|
RUN set -x ; \
|
||
|
vault --version
|
||
|
|
||
|
USER vault
|