File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,14 @@ RUN <<EOT bash
7575 apt-get install -y --no-install-recommends \
7676 software-properties-common pciutils
7777 if [ "amd64" = "$TARGETARCH" ]; then
78- curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404 /x86_64/cuda-keyring_1.1-1_all.deb
78+ curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION} /x86_64/cuda-keyring_1.1-1_all.deb
7979 fi
8080 if [ "arm64" = "$TARGETARCH" ]; then
81- curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/arm64/cuda-keyring_1.1-1_all.deb
81+ if [ "${CUDA_MAJOR_VERSION}" = "13" ]; then
82+ curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION}/sbsa/cuda-keyring_1.1-1_all.deb
83+ else
84+ curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION}/arm64/cuda-keyring_1.1-1_all.deb
85+ fi
8286 fi
8387 dpkg -i cuda-keyring_1.1-1_all.deb && \
8488 rm -f cuda-keyring_1.1-1_all.deb && \
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ RUN <<EOT bash
124124 apt-get install -y --no-install-recommends \
125125 software-properties-common pciutils
126126 if [ "amd64" = "$TARGETARCH" ]; then
127+ echo https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION}/x86_64/cuda-keyring_1.1-1_all.deb
127128 curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION}/x86_64/cuda-keyring_1.1-1_all.deb
128129 fi
129130 if [ "arm64" = "$TARGETARCH" ]; then
You can’t perform that action at this time.
0 commit comments