Skip to content

Commit d0cb440

Browse files
Merge pull request #184 from rollandf/dockerarg
2 parents acf2ea9 + 5c5970b commit d0cb440

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
18+
1719
FROM golang:1.24 AS builder
1820

1921
ARG GOPROXY
@@ -27,7 +29,7 @@ RUN go mod download
2729
ADD ./ ./
2830
RUN make all
2931

30-
FROM nvcr.io/nvidia/distroless/go:v3.2.0
32+
FROM ${BASE_IMAGE_GO_DISTROLESS:-nvcr.io/nvidia/distroless/go:v3.2.1}
3133
LABEL org.opencontainers.image.source=https://nvcr.io/nvidia/cloud-native/multus-cni
3234
WORKDIR /
3335
# Copy the built binary and plugins from the builder stage

0 commit comments

Comments
 (0)