Skip to content

Commit 5c48541

Browse files
committed
feat: add support for image building with a custom GOPROXY
Signed-off-by: Ivan Kolodiazhnyi <[email protected]>
1 parent 071f107 commit 5c48541

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile.nvidia

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
21
# Build node feature discovery
32
FROM golang:1.24 AS builder
43

4+
ARG GOPROXY
5+
ENV GOPROXY=$GOPROXY
6+
57
# Get (cache) deps in a separate layer
68
COPY go.mod go.sum /go/node-feature-discovery/
79
COPY api/nfd/go.mod api/nfd/go.sum /go/node-feature-discovery/api/nfd/

0 commit comments

Comments
 (0)