File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# Build the manager binary
2- FROM golang:1.21 as builder
2+ FROM golang:1.21@sha256:4746d26432a9117a5f58e95cb9f954ddf0de128e9d5816886514199316e4a2fb as builder
33
44WORKDIR /workspace
55# Copy the Go Modules manifests
@@ -19,7 +19,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -o manager main.go
1919
2020# Use distroless as minimal base image to package the manager binary
2121# Refer to https://github.com/GoogleContainerTools/distroless for more details
22- FROM registry.access.redhat.com/ubi9/ubi-minimal
22+ FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:7c5495d5fad59aaee12abc3cbbd2b283818ee1e814b00dbc7f25bf2d14fa4f0c
2323WORKDIR /
2424COPY --from=builder /workspace/manager .
2525USER 65532:65532
Original file line number Diff line number Diff line change 1- FROM registry.access.redhat.com/ubi9/ubi-minimal
1+ FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:7c5495d5fad59aaee12abc3cbbd2b283818ee1e814b00dbc7f25bf2d14fa4f0c
22WORKDIR /
33COPY bin/manager .
44USER 65532:65532
You can’t perform that action at this time.
0 commit comments