mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
Fix license for ubi dockerfile (#28141)
This commit is contained in:
parent
10430fecba
commit
64a30805d6
1 changed files with 6 additions and 5 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -78,8 +78,9 @@ CMD ["server", "-dev"]
|
|||
FROM registry.access.redhat.com/ubi8/ubi-minimal as ubi
|
||||
|
||||
ARG BIN_NAME
|
||||
# PRODUCT_VERSION is the version built dist/$TARGETOS/$TARGETARCH/$BIN_NAME,
|
||||
# which we COPY in later. Example: PRODUCT_VERSION=1.2.3.
|
||||
# NAME and PRODUCT_VERSION are the name of the software in releases.hashicorp.com
|
||||
# and the version to download. Example: NAME=vault PRODUCT_VERSION=1.2.3.
|
||||
ARG NAME=vault
|
||||
ARG PRODUCT_VERSION
|
||||
ARG PRODUCT_REVISION
|
||||
# TARGETARCH and TARGETOS are set automatically when --platform is provided.
|
||||
|
|
@ -96,13 +97,13 @@ LABEL name="Vault" \
|
|||
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 the license file as per Legal requirement
|
||||
COPY LICENSE /usr/share/doc/$NAME/LICENSE.txt
|
||||
|
||||
# Set ARGs as ENV so that they can be used in ENTRYPOINT/CMD
|
||||
ENV NAME=$NAME
|
||||
ENV VERSION=$VERSION
|
||||
|
||||
# Copy the license file as per Legal requirement
|
||||
COPY LICENSE /usr/share/doc/$NAME/LICENSE.txt
|
||||
|
||||
# Set up certificates, our base tools, and Vault. Unlike the other version of
|
||||
# this (https://github.com/hashicorp/docker-vault/blob/master/ubi/Dockerfile),
|
||||
# we copy in the Vault binary from CRT.
|
||||
|
|
|
|||
Loading…
Reference in a new issue