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.
This commit is contained in:
Priamo Germosen authored and GitHub committed 2026-09-30 22:08:03 -05:00
1 parent 231655b70a
commit d5418789d2
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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" \
+1 -1
View File
@@ -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 \
+1 -1
View File
@@ -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