Skip to content

Commit 636f6db

Browse files
[nvidia-cuda] - Ubuntu focal EOL change for nvidia-cuda (#1366)
* Ubuntu focal EOL change for nvidia-cuda * Major version bump * Major version bump correctly as per the review comment. * Updating the correct version in readme file as pointed out in review. * To re-run the tests --------- Co-authored-by: Álvaro Rausell Guiard <33221237+AlvaroRausell@users.noreply.github.com>
1 parent e8784d1 commit 636f6db

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/nvidia-cuda/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Installs shared libraries for NVIDIA CUDA.
77

88
```json
99
"features": {
10-
"ghcr.io/devcontainers/features/nvidia-cuda:1": {}
10+
"ghcr.io/devcontainers/features/nvidia-cuda:2": {}
1111
}
1212
```
1313

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": "2.0.0",
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)