We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5badcbe commit 05cb0d2Copy full SHA for 05cb0d2
Dockerfile
@@ -1,5 +1,5 @@
1
# Build the manager binary
2
-FROM docker.io/golang:1.23 AS builder
+FROM docker.io/golang:1.23@sha256:1cc01afde44821895ea712b5b4b802ef3c3ddeb7a7bb3f2e69c19bbc5877dace AS builder
3
ARG TARGETOS
4
ARG TARGETARCH
5
@@ -25,7 +25,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o ma
25
26
# Use distroless as minimal base image to package the manager binary
27
# Refer to https://github.com/GoogleContainerTools/distroless for more details
28
-FROM gcr.io/distroless/static:nonroot
+FROM gcr.io/distroless/static:nonroot@sha256:188ddfb9e497f861177352057cb21913d840ecae6c843d39e00d44fa64daa51c
29
WORKDIR /
30
COPY --from=builder /workspace/manager .
31
USER 65532:65532
0 commit comments