From f68d17cf003d8111a71ca31064c945a7a1222639 Mon Sep 17 00:00:00 2001 From: Isa Farnik Date: Thu, 17 Oct 2024 10:07:59 -0700 Subject: [PATCH] chore(docker): use ubi8 -> ubi9 (#13574) (#10453) * chore(docker): use ubi8 -> ubi9 (#13574) * chore(docker): use ubi8 -> ubi9 * chore(changelog): update text (cherry picked from commit bbc736041b60e5372971bbe92e3854669d9a29fc) * Update changelog/unreleased/kong/bump-dockerfile-ubi9.yml Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update changelog/unreleased/kong/bump-dockerfile-ubi9.yml Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update bump-dockerfile-ubi9.yml --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- build/dockerfiles/rpm.Dockerfile | 4 ++-- changelog/unreleased/kong/bump-dockerfile-ubi9.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changelog/unreleased/kong/bump-dockerfile-ubi9.yml diff --git a/build/dockerfiles/rpm.Dockerfile b/build/dockerfiles/rpm.Dockerfile index 54eea6c9ef..95d150cdb7 100644 --- a/build/dockerfiles/rpm.Dockerfile +++ b/build/dockerfiles/rpm.Dockerfile @@ -1,4 +1,4 @@ -ARG KONG_BASE_IMAGE=redhat/ubi8 +ARG KONG_BASE_IMAGE=redhat/ubi9 FROM --platform=$TARGETPLATFORM $KONG_BASE_IMAGE LABEL maintainer="Kong Docker Maintainers (@team-gateway-bot)" @@ -18,7 +18,7 @@ LABEL name="Kong" \ # RedHat required LICENSE file approved path COPY LICENSE /licenses/ -ARG PACKAGE_DISTRO=el8 +ARG PACKAGE_DISTRO=el9 ARG KONG_PREFIX=/usr/local/kong ENV KONG_PREFIX $KONG_PREFIX diff --git a/changelog/unreleased/kong/bump-dockerfile-ubi9.yml b/changelog/unreleased/kong/bump-dockerfile-ubi9.yml new file mode 100644 index 0000000000..f736be84a7 --- /dev/null +++ b/changelog/unreleased/kong/bump-dockerfile-ubi9.yml @@ -0,0 +1,2 @@ +message: "Updated the default base for RPM Dockerfile from UBI 8 to UBI 9." +type: dependency