Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile.nvidia
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/go/pkg/mod/ \
make install VERSION=v0.0.0 HOSTMOUNT_PREFIX=/host-

# Create minimal variant of the production image
FROM nvcr.io/nvidia/distroless/go:v3.1.8 AS final
FROM nvcr.io/nvidia/distroless/go:v3.1.10 AS final

# Run as unprivileged user
USER 65534:65534
Expand All @@ -29,5 +29,5 @@ ENV GRPC_GO_LOG_SEVERITY_LEVEL="INFO"

COPY --from=builder /go/node-feature-discovery/deployment/components/worker-config/nfd-worker.conf.example /etc/kubernetes/node-feature-discovery/nfd-worker.conf
COPY --from=builder /go/bin/* /usr/bin/
#Copy the source code to the image
COPY --from=builder . /usr/src/node-feature-discovery
# Copy only the source code directory, not the entire builder context
COPY --from=builder /go/node-feature-discovery /usr/src/node-feature-discovery
Loading