From 6c6ca3b2d5ecf3971d524d62725783903f3d9279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petra=20C=CC=8Ci=CC=81halova=CC=81?= Date: Fri, 3 May 2024 15:13:36 +0200 Subject: [PATCH] Revert "use the latest ubi9/go-toolset and ubi9/ubi-minimal in Dockerfile" This reverts commit 3be8d87af904f288a5cb3fe3f4d944f111053974. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 46c817e..18bc2e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ############################ # STEP 1 build executable binary ############################ -FROM registry.access.redhat.com/ubi9/go-toolset:latest AS builder +FROM registry.access.redhat.com/ubi8/go-toolset:latest AS builder WORKDIR $GOPATH/src/mypackage/myapp/ COPY . . # Fetch dependencies. @@ -14,7 +14,7 @@ RUN CGO_ENABLED=0 go build -o /go/bin/uhc-auth-proxy ############################ # STEP 2 build a small image ############################ -FROM registry.access.redhat.com/ubi9/ubi-minimal:latest +FROM registry.access.redhat.com/ubi8/ubi-minimal:latest # Copy our static executable. COPY --from=builder /go/bin/uhc-auth-proxy /go/bin/uhc-auth-proxy # Default port