Skip to content

Commit 6dc12f1

Browse files
Merge pull request #49 from ArangoGutierrez/fix_base
Bump CUDA_SAMPLES_VERSION to 13.0
2 parents 3876566 + ade9007 commit 6dc12f1

File tree

5 files changed

+13
-18
lines changed

5 files changed

+13
-18
lines changed

deployments/container/Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,18 @@ ARG DEBIAN_FRONTEND=noninteractive
1818
RUN 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-
3227
WORKDIR /build
3328

3429
ARG SAMPLE_NAME
3530
ENV SAMPLE_NAME=${SAMPLE_NAME}
3631

37-
ARG CUDA_SAMPLES_VERSION=v12.9
32+
ARG CUDA_SAMPLES_VERSION=v13.0
3833
RUN 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}") && \

deployments/container/nbody/Dockerfile

Lines changed: 4 additions & 4 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 SAMPLE_NAME=nbody
1818
ENV SAMPLE_NAME=${SAMPLE_NAME}
@@ -21,7 +21,7 @@ ARG DEBIAN_FRONTEND=noninteractive
2121
RUN 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

3535
ARG TARGETARCH
3636

37-
ARG CUDA_SAMPLES_VERSION=v12.9
37+
ARG CUDA_SAMPLES_VERSION=v13.0
3838
RUN 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
4646
ARG SAMPLE_NAME=nbody
4747
LABEL io.k8s.display-name="NVIDIA CUDA ${SAMPLE_NAME} sample"
4848
LABEL name="NVIDIA CUDA ${SAMPLE_NAME} sample"

deployments/container/nvbandwidth/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
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 \
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

4545
ARG port=2222
4646

deployments/container/vulkan/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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

1818
ENV DEBIAN_FRONTEND=noninteractive
1919
RUN 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

6868
LABEL io.k8s.display-name="NVIDIA CUDA Vulkan samples"
6969
LABEL name="NVIDIA CUDA Vulkan samples"

versions.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

2222
ifeq ($(IMAGE_NAME),)
2323
REGISTRY ?= nvcr.io/nvidia/k8s

0 commit comments

Comments
 (0)