Skip to content

Commit a07e6ee

Browse files
Merge pull request #29 from rollandf/dockerarg
2 parents f551f03 + 22a8f10 commit a07e6ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

images/Dockerfile.nvidia

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
ARG BASE_IMAGE_GO_DISTROLESS_DEV
16+
1517
FROM --platform=$BUILDPLATFORM golang:1.23.4 AS builder
1618

1719
ARG GOPROXY
@@ -35,7 +37,7 @@ RUN apt-get update && \
3537
FROM alpine:3 AS pkgs
3638
RUN apk add --no-cache hwdata-pci kmod
3739

38-
FROM nvcr.io/nvidia/distroless/go:v3.2.0-dev
40+
FROM ${BASE_IMAGE_GO_DISTROLESS_DEV:-nvcr.io/nvidia/distroless/go:v3.2.1-dev}
3941

4042
USER 0:0
4143
SHELL ["/busybox/sh", "-c"]

0 commit comments

Comments
 (0)