From aa3f04b7139c0d9cbeb0f31a5c644612275bc243 Mon Sep 17 00:00:00 2001 From: Mykola Morhun Date: Tue, 14 Nov 2023 12:10:44 +0200 Subject: [PATCH 1/2] Update operator base image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4186545..94e6a2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go # Use ubi-minimal as minimal base image to package the manager binary # For more details and updates, refer to # https://catalog.redhat.com/software/containers/ubi9/ubi-minimal/615bd9b4075b022acc111bf5 -FROM registry.access.redhat.com/ubi9/ubi-minimal:9.2-750.1697625013 +FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3 WORKDIR / COPY --from=builder /opt/app-root/src/manager / USER 65532:65532 From 3f8495ff754cd655cb19c7993ab3348ca687e048 Mon Sep 17 00:00:00 2001 From: Mykola Morhun Date: Tue, 14 Nov 2023 12:51:17 +0200 Subject: [PATCH 2/2] Use UBI8 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 94e6a2e..a6b3256 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,8 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go # Use ubi-minimal as minimal base image to package the manager binary # For more details and updates, refer to -# https://catalog.redhat.com/software/containers/ubi9/ubi-minimal/615bd9b4075b022acc111bf5 -FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3 +# https://catalog.redhat.com/software/containers/ubi8/ubi-minimal/5c359a62bed8bd75a2c3fba8 +FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8 WORKDIR / COPY --from=builder /opt/app-root/src/manager / USER 65532:65532