From 3ecdc4ce987ba4cc4abdfc088ff7add83e08b021 Mon Sep 17 00:00:00 2001 From: Anish Asthana Date: Thu, 12 Oct 2023 15:26:34 -0400 Subject: [PATCH] Update go-toolset version for CVEs Signed-off-by: Anish Asthana --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b949b1bd5..df2376625 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM registry.access.redhat.com/ubi8/go-toolset:1.19.10-10 as builder +FROM registry.access.redhat.com/ubi8/go-toolset:1.19.10-16 as builder WORKDIR /workspace # Copy the Go Modules manifests @@ -15,7 +15,7 @@ COPY pkg/ pkg/ USER root RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go -FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7 +FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8 WORKDIR / COPY --from=builder /workspace/manager .