From b7987647851b22f7b644d21eba95d467105bc387 Mon Sep 17 00:00:00 2001 From: Andreas Auernhammer Date: Wed, 25 Oct 2023 17:31:38 +0200 Subject: [PATCH] update container base image to ubi9 (#4730) This commit updates the container base image to ubi9/ubi-9.2. It is ~4 MB smaller than ubi-8. Signed-off-by: Andreas Auernhammer --- Dockerfile.hotfix | 4 ++-- Dockerfile.release | 4 ++-- Dockerfile.release.fips | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile.hotfix b/Dockerfile.hotfix index 1f6fbfec..cc94bb99 100644 --- a/Dockerfile.hotfix +++ b/Dockerfile.hotfix @@ -1,8 +1,8 @@ -FROM --platform=linux/amd64 registry.access.redhat.com/ubi8/ubi-minimal:8.8 as build +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/ubi-minimal:9.2 as build RUN microdnf update --nodocs && microdnf install ca-certificates --nodocs && microdnf clean all -FROM registry.access.redhat.com/ubi8/ubi-micro:8.8 +FROM registry.access.redhat.com/ubi9/ubi-micro:9.2 ARG TARGETARCH ARG RELEASE diff --git a/Dockerfile.release b/Dockerfile.release index 47d48af1..c0c196ff 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -1,8 +1,8 @@ -FROM --platform=linux/amd64 registry.access.redhat.com/ubi8/ubi-minimal:8.8 as build +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/ubi-minimal:9.2 as build RUN microdnf update --nodocs && microdnf install ca-certificates --nodocs && microdnf clean all -FROM registry.access.redhat.com/ubi8/ubi-micro:8.8 +FROM registry.access.redhat.com/ubi9/ubi-micro:9.2 ARG TARGETARCH ARG RELEASE diff --git a/Dockerfile.release.fips b/Dockerfile.release.fips index 99fc3a62..e95f3a24 100644 --- a/Dockerfile.release.fips +++ b/Dockerfile.release.fips @@ -1,8 +1,8 @@ -FROM --platform=linux/amd64 registry.access.redhat.com/ubi8/ubi-minimal:8.8 as build +FROM --platform=linux/amd64 registry.access.redhat.com/ubi9/ubi-minimal:9.2 as build RUN microdnf update --nodocs && microdnf install ca-certificates --nodocs && microdnf clean all -FROM registry.access.redhat.com/ubi8/ubi-micro:8.8 +FROM registry.access.redhat.com/ubi9/ubi-micro:9.2 ARG TARGETARCH ARG RELEASE