ADD file:00e6c22c1917031dd97c411814ae384c25a7f2bb91890494a73ea34f3c168453 in / |
CMD ["/bin/sh"] |
ARG BIN_NAME=vault |
ARG NAME=vault |
ARG PRODUCT_VERSION=1.17.6 |
ARG PRODUCT_REVISION=69a720d5d940bfcd590d7c24f3c98f178673d796 |
ARG TARGETOS=linux TARGETARCH=amd64 |
LABEL name=Vault maintainer=Vault Team <vault@hashicorp.com> vendor=HashiCorp version=1.17.6 release=69a720d5d940bfcd590d7c24f3c98f178673d796 revision=69a720d5d940bfcd590d7c24f3c98f178673d796 summary=Vault is a tool for securely accessing secrets. description=Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, and more. Vault provides a unified interface to any secret, while providing tight access control and recording a detailed audit log. |
COPY LICENSE /usr/share/doc/vault/LICENSE.txt # buildkit |
ENV NAME=vault |
ENV VERSION= |
RUN |6 BIN_NAME=vault NAME=vault PRODUCT_VERSION=1.17.6 PRODUCT_REVISION=69a720d5d940bfcd590d7c24f3c98f178673d796 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c addgroup ${NAME} && adduser -S -G ${NAME} ${NAME} # buildkit |
RUN |6 BIN_NAME=vault NAME=vault PRODUCT_VERSION=1.17.6 PRODUCT_REVISION=69a720d5d940bfcd590d7c24f3c98f178673d796 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c apk add --no-cache libcap su-exec dumb-init tzdata # buildkit |
COPY dist/linux/amd64/vault /bin/ # buildkit |
RUN |6 BIN_NAME=vault NAME=vault PRODUCT_VERSION=1.17.6 PRODUCT_REVISION=69a720d5d940bfcd590d7c24f3c98f178673d796 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c mkdir -p /vault/logs && mkdir -p /vault/file && mkdir -p /vault/config && chown -R ${NAME}:${NAME} /vault # buildkit |
VOLUME [/vault/logs] |
VOLUME [/vault/file] |
EXPOSE map[8200/tcp:{}] |
COPY .release/docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # buildkit |
ENTRYPOINT ["docker-entrypoint.sh"] |
CMD ["server" "-dev"] |
LABEL dev.egommerce.image.author=Piotr Biernat |
LABEL dev.egommerce.image.vendor=Egommerce |
LABEL dev.egommerce.image.service=api-vault |
LABEL dev.egommerce.image.version=1.0 |
COPY ./api-vault/etc /vault/config # buildkit |
COPY ./api-vault/entrypoint.sh ./api-vault/wait-for-it.sh / # buildkit |
COPY ./.app.config / # buildkit |
RUN /bin/sh -c apk add curl jq # buildkit |
EXPOSE map[8200/tcp:{}] |
ENTRYPOINT ["/entrypoint.sh"] |
CMD ["vault" "server" "-config=/vault/config/server.hcl"] |