File tree Expand file tree Collapse file tree 5 files changed +13
-18
lines changed Expand file tree Collapse file tree 5 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -18,23 +18,18 @@ ARG DEBIAN_FRONTEND=noninteractive
1818RUN apt-get update && apt-get install -y --no-install-recommends \
1919 build-essential \
2020 cmake \
21- cuda-nvcc-12-9 \
21+ cuda-nvcc-13-0 \
2222 g++ \
2323 curl \
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-
3227WORKDIR /build
3328
3429ARG SAMPLE_NAME
3530ENV SAMPLE_NAME=${SAMPLE_NAME}
3631
37- ARG CUDA_SAMPLES_VERSION=v12.9
32+ ARG CUDA_SAMPLES_VERSION=v13.0
3833RUN curl -L https://codeload.github.com/NVIDIA/cuda-samples/tar.gz/refs/tags/${CUDA_SAMPLES_VERSION} | \
3934 tar -xzvf - --strip-components=1 --wildcards */${SAMPLE_NAME}/* --wildcards */Common/* && \
4035 cd $(find /build/Samples -iname "${SAMPLE_NAME}" ) && \
Original file line number Diff line number Diff line change 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
1717ARG SAMPLE_NAME=nbody
1818ENV SAMPLE_NAME=${SAMPLE_NAME}
@@ -21,7 +21,7 @@ ARG DEBIAN_FRONTEND=noninteractive
2121RUN apt-get update && apt-get install -y --no-install-recommends \
2222 build-essential \
2323 cmake \
24- cuda-nvcc-12-9 \
24+ cuda-nvcc-13-0 \
2525 g++ \
2626 curl \
2727 freeglut3-dev \
@@ -34,15 +34,15 @@ WORKDIR /build
3434
3535ARG TARGETARCH
3636
37- ARG CUDA_SAMPLES_VERSION=v12.9
37+ ARG CUDA_SAMPLES_VERSION=v13.0
3838RUN curl -L https://codeload.github.com/NVIDIA/cuda-samples/tar.gz/refs/tags/${CUDA_SAMPLES_VERSION} | \
3939 tar -xzvf - --strip-components=1 --wildcards */${SAMPLE_NAME}/* --wildcards */Common/* && \
4040 cd $(find /build/Samples -iname "${SAMPLE_NAME}" ) && \
4141 cmake . && \
4242 make && \
4343 cp ${SAMPLE_NAME} /build/${SAMPLE_NAME}
4444
45- FROM nvcr.io/nvidia/cuda:12.9.1 -base-ubuntu22.04
45+ FROM nvcr.io/nvidia/cuda:13.0.0 -base-ubuntu22.04
4646ARG SAMPLE_NAME=nbody
4747LABEL io.k8s.display-name="NVIDIA CUDA ${SAMPLE_NAME} sample"
4848LABEL name="NVIDIA CUDA ${SAMPLE_NAME} sample"
Original file line number Diff line number Diff line change 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
1717ARG DEBIAN_FRONTEND=noninteractive
1818RUN apt-get update && apt-get install -y --no-install-recommends \
1919 build-essential \
2020 cmake \
21- cuda-nvcc-12-9 \
22- cuda-nvml-dev-12-9 \
21+ cuda-nvcc-13-0 \
22+ cuda-nvml-dev-13-0 \
2323 g++ \
2424 git \
2525 gcc \
@@ -40,7 +40,7 @@ RUN git clone --branch ${NVBANDWIDTH_VERSION} --depth 1 --single-branch https://
4040 cmake -DMULTINODE=1 . && \
4141 make -j$(nproc)
4242
43- FROM nvcr.io/nvidia/cuda:12.9.1 -base-ubuntu22.04
43+ FROM nvcr.io/nvidia/cuda:13.0.0 -base-ubuntu22.04
4444
4545ARG port=2222
4646
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16- FROM nvcr.io/nvidia/cuda:12.9.1 -base-ubuntu22.04 AS builder
16+ FROM nvcr.io/nvidia/cuda:13.0.0 -base-ubuntu22.04 AS builder
1717
1818ENV DEBIAN_FRONTEND=noninteractive
1919RUN apt-get update -y && apt-get install -y --no-install-recommends \
@@ -63,7 +63,7 @@ RUN git clone --depth=1 https://github.com/SaschaWillems/Vulkan.git \
6363 && cmake -D RESOURCE_INSTALL_DIR=/cuda-samples .. \
6464 && make ${BUILD_EXAMPLES}
6565
66- FROM nvcr.io/nvidia/cuda:12.9.1 -base-ubuntu22.04
66+ FROM nvcr.io/nvidia/cuda:13.0.0 -base-ubuntu22.04
6767
6868LABEL io.k8s.display-name="NVIDIA CUDA Vulkan samples"
6969LABEL name="NVIDIA CUDA Vulkan samples"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ VERSION ?= cuda$(shell grep -Eo "FROM.*cuda:[0-9\.]+" deployments/container/Doc
1717
1818# Specify the tag for the https://github.com/NVIDIA/cuda-samples repository.
1919# This need not match the CUDA_VERSION above.
20- CUDA_SAMPLES_VERSION := v12.9
20+ CUDA_SAMPLES_VERSION := v13.0
2121
2222ifeq ($(IMAGE_NAME ) ,)
2323REGISTRY ?= nvcr.io/nvidia/k8s
You can’t perform that action at this time.
0 commit comments