Skip to content

Precompiled: Ubuntu26.04 x86 driver container support#758

Open
shivakunv wants to merge 1 commit into
mainfrom
precompiled-ubuntu26.04
Open

Precompiled: Ubuntu26.04 x86 driver container support#758
shivakunv wants to merge 1 commit into
mainfrom
precompiled-ubuntu26.04

Conversation

@shivakunv

@shivakunv shivakunv commented May 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@shivakunv shivakunv force-pushed the precompiled-ubuntu26.04 branch 3 times, most recently from 2b85890 to 021be8a Compare May 6, 2026 08:55
Comment thread base/Dockerfile Outdated
@shivakunv shivakunv self-assigned this May 6, 2026
@shivakunv shivakunv force-pushed the precompiled-ubuntu26.04 branch 4 times, most recently from 97a8b97 to a08b959 Compare May 14, 2026 12:54
@shivakunv shivakunv force-pushed the precompiled-ubuntu26.04 branch from 13a221e to 38a1329 Compare May 20, 2026 03:44
@shivakunv shivakunv force-pushed the precompiled-ubuntu26.04 branch 3 times, most recently from ba62a87 to a4586ff Compare May 29, 2026 13:03
@shivakunv shivakunv marked this pull request as ready for review May 29, 2026 13:04
@shivakunv shivakunv force-pushed the precompiled-ubuntu26.04 branch 2 times, most recently from 49246e8 to d9382bf Compare May 30, 2026 02:50
Comment thread ubuntu26.04/precompiled/nvidia-driver Outdated
@shivakunv shivakunv force-pushed the precompiled-ubuntu26.04 branch 2 times, most recently from dfeff99 to 9643b7a Compare June 3, 2026 03:26
Comment thread base/Dockerfile Outdated
Comment thread ubuntu26.04/precompiled/Dockerfile Outdated
@shivakunv shivakunv force-pushed the precompiled-ubuntu26.04 branch from 9643b7a to 38f2dda Compare June 3, 2026 16:27
Comment thread .gitlab-ci.yml Outdated
@shivakunv shivakunv removed their assignment Jun 9, 2026
@shivakunv shivakunv force-pushed the precompiled-ubuntu26.04 branch from 68a4b71 to 3c95329 Compare June 9, 2026 08:25
@rajathagasthya rajathagasthya changed the title Precompiled: Ubuntu26.04 driver container support Precompiled: Ubuntu26.04 x86 driver container support Jun 9, 2026
Comment thread scripts/nvidia-installer Outdated
@@ -0,0 +1,1489 @@
#!/usr/bin/env bash

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have this script here instead of downloading it like Ubuntu 24.04?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not paste the nvidia-installer script here. We always want to download a specific nvidia-installer script/binary based on the driver version we are containerising

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After removing the local nvidia-installer script, we have two options:

1: Match ubuntu22.04/24.04 — extract from the .run
Use the existing fetch_nvidia_installer pattern: download NVIDIA-Linux-${ARCH}-${DRIVER_VERSION}.run from https://us.download.nvidia.com/tesla/, run sh -x to extract, copy out nvidia-installer, and clean up the rest. Same flow as ubuntu22.04 and ubuntu24.04 already use.

2: Build from source
Download the source https://github.com/NVIDIA/nvidia-installer, build it with make, and install the resulting binary.

please suggest @tariq1890

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's follow what's being done for ubuntu22.04/24.04. I don't see a reason to build from source.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are already following the same approach as Ubuntu 22.04/24.04 by extracting nvidia-installer from the .run file .
2nd point suggested for removal of .run file

Comment thread base/Dockerfile
Comment thread scripts/nvidia-installer Outdated
@@ -0,0 +1,1489 @@
#!/usr/bin/env bash

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not paste the nvidia-installer script here. We always want to download a specific nvidia-installer script/binary based on the driver version we are containerising

Comment thread ubuntu26.04/precompiled/Dockerfile Outdated
Comment thread ubuntu26.04/precompiled/Dockerfile Outdated
Comment thread .gitlab-ci.yml Outdated
Comment thread ubuntu26.04/precompiled/Dockerfile Outdated
@shivakunv shivakunv force-pushed the precompiled-ubuntu26.04 branch from 3c95329 to d697a7c Compare June 11, 2026 05:04
@shivakunv shivakunv requested a review from tariq1890 June 11, 2026 05:12
@shivakunv shivakunv dismissed tariq1890’s stale review June 11, 2026 05:13

latest commit includes the code changes


# Install / upgrade packages here that are required to resolve CVEs
ARG CVE_UPDATES
RUN if [ -n "${CVE_UPDATES}" ]; then \

@shivakunv shivakunv Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-op

need basis :-
We can add this later in CI ( .gitlab-ci.yaml or as ci/cd variable) , no changes to Dockerfile are needed.

@tariq1890

Comment thread scripts/nvidia-installer Outdated
@@ -0,0 +1,1489 @@
#!/usr/bin/env bash

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After removing the local nvidia-installer script, we have two options:

1: Match ubuntu22.04/24.04 — extract from the .run
Use the existing fetch_nvidia_installer pattern: download NVIDIA-Linux-${ARCH}-${DRIVER_VERSION}.run from https://us.download.nvidia.com/tesla/, run sh -x to extract, copy out nvidia-installer, and clean up the rest. Same flow as ubuntu22.04 and ubuntu24.04 already use.

2: Build from source
Download the source https://github.com/NVIDIA/nvidia-installer, build it with make, and install the resulting binary.

please suggest @tariq1890

Signed-off-by: Shiva Kumar (SW-CLOUD) <shivaku@nvidia.com>
@shivakunv shivakunv force-pushed the precompiled-ubuntu26.04 branch from d697a7c to 7d4d099 Compare June 11, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants