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 579d3eb commit 95f002bCopy full SHA for 95f002b
components/notebook-controller/Dockerfile
@@ -26,9 +26,13 @@ RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -mod=mod -o manager main
26
27
# Use distroless as minimal base image to package the manager binary
28
# Refer to https://github.com/GoogleContainerTools/distroless for more details
29
-FROM gcr.io/distroless/base:debug
+FROM gcr.io/distroless/static:nonroot
30
+
31
WORKDIR /
32
COPY --from=builder /workspace/notebook-controller/manager .
33
COPY --from=builder /workspace/notebook-controller/third_party/license.txt third_party/license.txt
34
COPY --from=builder /go/pkg/mod/github.com/hashicorp third_party/hashicorp
35
36
+USER 65532:65532
37
38
ENTRYPOINT ["/manager"]
0 commit comments