Skip to content

Commit 567f32d

Browse files
rollandfgithub-actions[bot]
authored andcommitted
fix: Add missing host mount param (#9)
1 parent b341306 commit 567f32d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.nvidia

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ RUN --mount=type=cache,target=/go/pkg/mod/ \
1414
# Do actual build
1515
COPY . /go/node-feature-discovery
1616

17+
1718
RUN --mount=type=cache,target=/go/pkg/mod/ \
18-
make install VERSION=v0.0.0
19+
make install VERSION=v0.0.0 HOSTMOUNT_PREFIX=/host-
1920

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

0 commit comments

Comments
 (0)