File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed 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 \
@@ -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+
2732WORKDIR /build
2833
2934ARG 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
4247ARG SAMPLE_NAME
4348ARG VERSION
You can’t perform that action at this time.
0 commit comments