From d5418789d2a252ba2d26cc932c4f784321fe103a Mon Sep 17 00:00:00 2001 From: Priamo Germosen <6233424+pgermosen@users.noreply.github.com> Date: Wed, 30 Sep 2026 23:08:03 -0400 Subject: [PATCH] fix(docker): move the image bases to UBI 9.8 (#4782) The compat image's ubi9-minimal:9.7 ships openssl-libs-3.5.1-7.el9_7, which is below the 3.5.5-4.el9_8 that Red Hat fixed CVE-2026-45445 in. ubi9-minimal:9.8 ships 3.5.8-1.el9_8, so the bump is the remediation. The native bases move with it for currency rather than for that CVE: ubi9-micro ships no openssl at either tag, on any architecture. It picks up glibc 2.34-231.el9_7.10 to 2.34-275.el9_8 plus libcap and tzdata, and keeps both images on one RHEL minor stream, which matters because the compat image builds on top of the native one. Package contents were read from the Red Hat container catalog for every architecture the images publish. --- docker/Dockerfile.compat | 2 +- docker/Dockerfile.native | 2 +- docker/Dockerfile.native-package | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile.compat b/docker/Dockerfile.compat index 1ea281e24e..e7e4ba730b 100644 --- a/docker/Dockerfile.compat +++ b/docker/Dockerfile.compat @@ -9,7 +9,7 @@ FROM ${BASE_IMAGE} AS native # Everything that does not depend on the Floci version. CI builds this stage alone # (target: tools) to test the aws CLI shim and to warm the layer cache. -FROM registry.access.redhat.com/ubi9-minimal:9.7 AS tools +FROM registry.access.redhat.com/ubi9-minimal:9.8 AS tools LABEL org.opencontainers.image.title="Floci (compat)" \ org.opencontainers.image.description="Floci compatibility image with AWS CLI and boto3 pre-installed" \ diff --git a/docker/Dockerfile.native b/docker/Dockerfile.native index db3f3d5fe2..2ddecefae9 100644 --- a/docker/Dockerfile.native +++ b/docker/Dockerfile.native @@ -25,7 +25,7 @@ RUN mvn clean package -Dnative -DskipTests -B \ -Dquarkus.native.additional-build-args-append=-H:-AOTSingleCallsiteInline # Stage 2: Minimal runtime. Same base and user setup as Dockerfile.native-package. -FROM registry.access.redhat.com/ubi9-micro:9.7 +FROM registry.access.redhat.com/ubi9-micro:9.8 WORKDIR /app RUN echo 'floci:x:1001:0:Floci:/app:/sbin/nologin' >> /etc/passwd \ diff --git a/docker/Dockerfile.native-package b/docker/Dockerfile.native-package index 8266a24cfe..00f0968645 100644 --- a/docker/Dockerfile.native-package +++ b/docker/Dockerfile.native-package @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9-micro:9.7 +FROM registry.access.redhat.com/ubi9-micro:9.8 # Automatically set by Docker BuildKit to "amd64" or "arm64" ARG TARGETARCH