File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/go/pkg/mod/ \
1919 make install VERSION=v0.0.0 HOSTMOUNT_PREFIX=/host-
2020
2121# Create minimal variant of the production image
22- FROM nvcr.io/nvidia/distroless/go:v3.1.8 AS final
22+ FROM nvcr.io/nvidia/distroless/go:v3.1.10 AS final
2323
2424# Run as unprivileged user
2525USER 65534:65534
@@ -29,5 +29,5 @@ ENV GRPC_GO_LOG_SEVERITY_LEVEL="INFO"
2929
3030COPY --from=builder /go/node-feature-discovery/deployment/components/worker-config/nfd-worker.conf.example /etc/kubernetes/node-feature-discovery/nfd-worker.conf
3131COPY --from=builder /go/bin/* /usr/bin/
32- #Copy the source code to the image
33- COPY --from=builder . /usr/src/node-feature-discovery
32+ # Copy only the source code directory, not the entire builder context
33+ COPY --from=builder /go/node-feature-discovery /usr/src/node-feature-discovery
You can’t perform that action at this time.
0 commit comments