Skip to content

Commit 87358b4

Browse files
committed
chore: use base image from arg
Signed-off-by: Fred Rolland <frolland@nvidia.com>
1 parent 416535b commit 87358b4

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 golang:alpine as builder
24

35
ARG GOPROXY
@@ -13,7 +15,7 @@ RUN apk add --no-cache --virtual build-dependencies build-base=~0.5 && \
1315
make clean && \
1416
make build
1517

16-
FROM nvcr.io/nvidia/distroless/go:v3.2.0-dev
18+
FROM ${BASE_IMAGE_GO_DISTROLESS_DEV:-nvcr.io/nvidia/distroless/go:v3.2.1-dev}
1719

1820
USER 0:0
1921
SHELL ["/busybox/sh", "-c"]

0 commit comments

Comments
 (0)