File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ $(DRIVER_BUILD_TARGETS):
149149 $(DOCKER_BUILD_PLATFORM_OPTIONS ) \
150150 --tag $(IMAGE ) \
151151 --build-arg DRIVER_VERSION=" $( DRIVER_VERSION) " \
152+ --build-arg GOLANG_VERSION=" $( GOLANG_VERSION) " \
152153 --build-arg DRIVER_BRANCH=" $( DRIVER_BRANCH) " \
153154 --build-arg CUDA_VERSION=" $( CUDA_VERSION) " \
154155 --build-arg CVE_UPDATES=" $( CVE_UPDATES) " \
@@ -186,6 +187,7 @@ $(BASE_BUILD_TARGETS):
186187 --tag $(IMAGE ) \
187188 --target $(TARGET ) \
188189 --build-arg CUDA_VERSION=" $( CUDA_VERSION) " \
190+ --build-arg GOLANG_VERSION=" $( GOLANG_VERSION) " \
189191 --build-arg DRIVER_BRANCH=" $( DRIVER_BRANCH) " \
190192 --build-arg KERNEL_FLAVOR=" $( KERNEL_FLAVOR) " \
191193 --file $(DOCKERFILE ) \
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ SHELL ["/bin/bash", "-c"]
66
77RUN dnf install -y git wget
88
9- ENV GOLANG_VERSION=1.22.7
10-
119# download appropriate binary based on the target architecture for multi-arch builds
1210RUN OS_ARCH=${TARGETARCH/x86_64/amd64} && OS_ARCH=${OS_ARCH/aarch64/arm64} && \
1311 curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${OS_ARCH}.tar.gz \
@@ -33,6 +31,7 @@ SHELL ["/bin/bash", "-c"]
3331ARG BASE_URL=https://us.download.nvidia.com/tesla
3432ARG DRIVER_VERSION
3533ENV DRIVER_VERSION=$DRIVER_VERSION
34+ ARG GOLANG_VERSION
3635
3736# Arg to indicate if driver type is either of passthrough/baremetal or vgpu
3837ARG DRIVER_TYPE=passthrough
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ SHELL ["/bin/bash", "-c"]
66
77RUN dnf install -y git wget
88
9- ENV GOLANG_VERSION=1.22.7
10-
119# download appropriate binary based on the target architecture for multi-arch builds
1210RUN OS_ARCH=${TARGETARCH/x86_64/amd64} && OS_ARCH=${OS_ARCH/aarch64/arm64} && \
1311 curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${OS_ARCH}.tar.gz \
@@ -33,6 +31,7 @@ SHELL ["/bin/bash", "-c"]
3331ARG BASE_URL=https://us.download.nvidia.com/tesla
3432ARG DRIVER_VERSION
3533ENV DRIVER_VERSION=$DRIVER_VERSION
34+ ARG GOLANG_VERSION
3635
3736# Arg to indicate if driver type is either of passthrough/baremetal or vgpu
3837ARG DRIVER_TYPE=passthrough
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1717 git && \
1818 rm -rf /var/lib/apt/lists/*
1919
20- ENV GOLANG_VERSION=1.22.7
21-
2220# download appropriate binary based on the target architecture for multi-arch builds
2321RUN OS_ARCH=${TARGETARCH/x86_64/amd64} && OS_ARCH=${OS_ARCH/aarch64/arm64} && \
2422 curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${OS_ARCH}.tar.gz \
@@ -41,6 +39,7 @@ ARG BASE_URL=https://us.download.nvidia.com/tesla
4139ARG TARGETARCH
4240ENV TARGETARCH=$TARGETARCH
4341ARG DRIVER_VERSION
42+ ARG GOLANG_VERSION
4443ENV DRIVER_VERSION=$DRIVER_VERSION
4544ENV DEBIAN_FRONTEND=noninteractive
4645
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1717 git && \
1818 rm -rf /var/lib/apt/lists/*
1919
20- ENV GOLANG_VERSION=1.22.7
21-
2220# download appropriate binary based on the target architecture for multi-arch builds
2321RUN OS_ARCH=${TARGETARCH/x86_64/amd64} && OS_ARCH=${OS_ARCH/aarch64/arm64} && \
2422 curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${OS_ARCH}.tar.gz \
@@ -41,6 +39,7 @@ ARG BASE_URL=https://us.download.nvidia.com/tesla
4139ARG TARGETARCH
4240ENV TARGETARCH=$TARGETARCH
4341ARG DRIVER_VERSION
42+ ARG GOLANG_VERSION
4443ENV DRIVER_VERSION=$DRIVER_VERSION
4544ENV DEBIAN_FRONTEND=noninteractive
4645
Original file line number Diff line number Diff line change 1616DRIVER_VERSIONS ?= 535.183.06 550.90.12 560.35.03
1717
1818CUDA_VERSION := 12.6.0
19+
20+ GOLANG_VERSION := 1.22.8
You can’t perform that action at this time.
0 commit comments