Skip to content

Commit 5682dff

Browse files
committed
Ubuntu focal EOL change for nvidia-cuda
1 parent 94ed0bb commit 5682dff

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/nvidia-cuda/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "nvidia-cuda",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"name": "NVIDIA CUDA",
55
"description": "Installs shared libraries for NVIDIA CUDA.",
66
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/nvidia-cuda",

src/nvidia-cuda/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ check_packages wget ca-certificates
4646

4747
# Add NVIDIA's package repository to apt so that we can download packages
4848
# Always use the ubuntu2004 repo because the other repos (e.g., debian11) are missing packages
49-
NVIDIA_REPO_URL="https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64"
49+
# Updating the repo to ubuntu2204 as ubuntu 20.04 is going out of support
50+
NVIDIA_REPO_URL="https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64"
5051
KEYRING_PACKAGE="cuda-keyring_1.0-1_all.deb"
5152
KEYRING_PACKAGE_URL="$NVIDIA_REPO_URL/$KEYRING_PACKAGE"
5253
KEYRING_PACKAGE_PATH="$(mktemp -d)"

0 commit comments

Comments
 (0)