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. +```