Skip to content

Commit 0d88658

Browse files
committed
Update alternatives for nvcc
Signed-off-by: Evan Lezar <[email protected]>
1 parent 0b4cbfa commit 0d88658

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deployments/container/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)