Skip to content

Commit eb3b43c

Browse files
Merge pull request #11 from rollandf/dockerarg
2 parents c2f53a1 + 13be2ed commit eb3b43c

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,3 +1,5 @@
1+
ARG BASE_IMAGE_GO_DISTROLESS_DEV
2+
13
FROM alpine:3 AS pkgs
24

35
RUN apk add --no-cache curl
@@ -11,7 +13,7 @@ RUN mkdir -p /usr/src/cni/bin && \
1113
tar -xvf cni-plugins-linux-${TARGETARCH}-${VERSION}.tgz -C /usr/src/cni/bin/ && \
1214
echo done
1315

14-
FROM nvcr.io/nvidia/distroless/go:v3.2.0-dev AS entrypoint
16+
FROM ${BASE_IMAGE_GO_DISTROLESS_DEV:-nvcr.io/nvidia/distroless/go:v3.2.1-dev} AS entrypoint
1517

1618
USER 0:0
1719
SHELL ["/busybox/sh", "-c"]

0 commit comments

Comments
 (0)