Document minimal Nvidia support for base images#143
Draft
Conversation
Co-authored-by: castrojo <1264109+castrojo@users.noreply.github.com>
Co-authored-by: castrojo <1264109+castrojo@users.noreply.github.com>
Co-authored-by: castrojo <1264109+castrojo@users.noreply.github.com>
Co-authored-by: castrojo <1264109+castrojo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Document minimal Nvidia support for base images
Document minimal Nvidia support for base images
Oct 15, 2025
|
Not sure if this is the right place, but any idea when this might land on the main branch? |
|
Would it be possible to get additional eyes on this? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements documentation and tooling to add Nvidia driver support to custom bootc images, addressing the deprecation of Universal Blue's dedicated
-nvidiaimages following the community vote in #927.Users previously relying on
ublue-os/*-nvidiabase images can now add Nvidia support to any base image using the method documented here.Changes
New Files
build_files/nvidia-install.sh- Main script that installs Nvidia drivers from akmods repositories. This script mirrors the implementation from ublue-os/main and:build_files/ghcurl- Helper script for authenticated GitHub API requests to avoid rate limiting during buildsContainerfile.nvidia- Complete working example demonstrating how to add Nvidia drivers to any base image, including:build_files/README.md- Documentation explaining all build scripts and their purposeUpdated Files
README.md- Added comprehensive "Adding Nvidia Driver Support" section with:-nvidiaimage deprecationContainerfile- Updated comments to reference the Nvidia exampleImplementation Details
The implementation follows the same approach used by ublue-os/bazzite and other Universal Blue projects:
ghcr.io/ublue-os/akmods-nvidiaUsage Example
Users can now add Nvidia support by using the example Containerfile:
Testing
bash -n)Fixes #[issue_number]
Refs: ublue-os/main#927 (comment)
Original prompt
Fixes #136
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.