Skip to content

Commit 3876566

Browse files
Merge pull request #45 from NVIDIA/dependabot/docker/deployments/container/nvidia/cuda-13.0.0-base-ubuntu22.04
Bump nvidia/cuda from 12.9.1-base-ubuntu22.04 to 13.0.0-base-ubuntu22.04 in /deployments/container
2 parents 1ae1a83 + 0d88658 commit 3876566

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

deployments/container/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM nvcr.io/nvidia/cuda:12.9.1-base-ubuntu22.04 AS builder
15+
FROM nvcr.io/nvidia/cuda:13.0.0-base-ubuntu22.04 AS builder
1616

1717
ARG DEBIAN_FRONTEND=noninteractive
1818
RUN apt-get update && apt-get install -y --no-install-recommends \
@@ -24,6 +24,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2424
&& \
2525
rm -rf /var/lib/apt/lists/*
2626

27+
# TODO: The cuda-nvvcc-12-9 package should either depend on the CUDA version or
28+
# the sample version. IFF we match the sample version, we need to also ensure
29+
# that the right alternative is used here.
30+
RUN update-alternatives --set cuda /usr/local/cuda-12.9
31+
2732
WORKDIR /build
2833

2934
ARG SAMPLE_NAME
@@ -37,7 +42,7 @@ RUN curl -L https://codeload.github.com/NVIDIA/cuda-samples/tar.gz/refs/tags/${C
3742
make && \
3843
cp ${SAMPLE_NAME} /build/${SAMPLE_NAME}
3944

40-
FROM nvcr.io/nvidia/cuda:12.9.1-base-ubuntu22.04
45+
FROM nvcr.io/nvidia/cuda:13.0.0-base-ubuntu22.04
4146

4247
ARG SAMPLE_NAME
4348
ARG VERSION

0 commit comments

Comments
 (0)