From c2114873105c71a607d8b03d67683765e0370f10 Mon Sep 17 00:00:00 2001 From: Deepak Chourasia Date: Tue, 15 Oct 2024 17:00:34 +0530 Subject: [PATCH] Update Dockerfile.konflux --- Dockerfiles/Dockerfile.konflux | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfiles/Dockerfile.konflux b/Dockerfiles/Dockerfile.konflux index b367ffe88d1..d65bea976d1 100644 --- a/Dockerfiles/Dockerfile.konflux +++ b/Dockerfiles/Dockerfile.konflux @@ -7,6 +7,7 @@ WORKDIR /opt COPY opt/manifests/ /opt/manifests/ COPY prefetched-manifests/ /opt/manifests/ +WORKDIR /workspace # Copy the Go Modules manifests COPY go.mod go.mod COPY go.sum go.sum @@ -32,7 +33,7 @@ COPY config/osd-configs/ /opt/manifests/osd-configs/ RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o manager main.go ################################################################################ -FROM registry.access.redhat.com/ubi8/ubi-minimal:latest +FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:d531ff26bffe832391600e8137f01b9d09a712c721ebe966b98d647bd91bc261 WORKDIR / COPY --from=builder /workspace/manager . COPY --chown=1001:0 --from=builder /opt/manifests /opt/manifests