From 925676cc87899ef8e09104086ede4d18fa9a59fb Mon Sep 17 00:00:00 2001 From: Vault Automation Date: Mon, 22 Dec 2025 16:12:19 -0700 Subject: [PATCH] docker: build UBI containers on ubi10/minimal (#11409) (#11540) * docker: build UBI containers on ubi10/minimal * add changelog Signed-off-by: Ryan Cragun Co-authored-by: Ryan Cragun --- Dockerfile | 4 +--- changelog/_11409.txt | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 changelog/_11409.txt diff --git a/Dockerfile b/Dockerfile index fcdfe334f9..32da3d036a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,6 @@ COPY ${LICENSE_SOURCE} ${LICENSE_DEST} # Set ARGs as ENV so that they can be used in ENTRYPOINT/CMD ENV NAME=$NAME -ENV VERSION=$VERSION # Create a non-root user to run the software. RUN addgroup ${NAME} && adduser -S -G ${NAME} ${NAME} @@ -79,7 +78,7 @@ CMD ["server", "-dev"] ## UBI DOCKERFILE ## -FROM registry.access.redhat.com/ubi8/ubi-minimal AS ubi +FROM registry.access.redhat.com/ubi10/ubi-minimal AS ubi ARG BIN_NAME # NAME and PRODUCT_VERSION are the name of the software in releases.hashicorp.com @@ -107,7 +106,6 @@ LABEL name="Vault" \ # 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_SOURCE} ${LICENSE_DEST}/ diff --git a/changelog/_11409.txt b/changelog/_11409.txt new file mode 100644 index 0000000000..09d628187e --- /dev/null +++ b/changelog/_11409.txt @@ -0,0 +1,3 @@ +```release-note:change +packaging: UBI container images are now built on the UBI 10 minimal image. +```