Skip to content

Commit 0af6eb4

Browse files
Merge pull request #102 from rollandf/dockerarg
2 parents 017d58b + 729bc71 commit 0af6eb4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#
1515
# SPDX-License-Identifier: Apache-2.0
1616

17+
ARG BASE_IMAGE_GO_DISTROLESS_DEV
18+
1719
FROM golang:1.25-alpine as builder
1820

1921
ARG GOPROXY
@@ -29,7 +31,7 @@ WORKDIR /usr/src/ipoib-cni
2931
RUN make clean && \
3032
make build
3133

32-
FROM nvcr.io/nvidia/distroless/go:v3.2.0-dev
34+
FROM ${BASE_IMAGE_GO_DISTROLESS_DEV:-nvcr.io/nvidia/distroless/go:v3.2.1-dev}
3335

3436
USER 0:0
3537
SHELL ["/busybox/sh", "-c"]

0 commit comments

Comments
 (0)