Skip to content

contrib(nvidia): match right apt repo based on os release #5913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

crazy-max
Copy link
Member

And keep fallback to ubuntu2404 for ubuntu distrib and debian12 for debian. Fallback can happen for releases still in testing/sid.

if err != nil {
return err
}
if osid != "debian" && osid != "ubuntu" {
Copy link
Member Author

Choose a reason for hiding this comment

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

Looking at https://developer.download.nvidia.com/compute/cuda/repos/ we could have support for other distribs in the future.

@crazy-max crazy-max force-pushed the nvidia-contrib-match-repo branch from 64f37c8 to 6390586 Compare April 15, 2025 13:44
@crazy-max crazy-max changed the title contrib(nvidia): match right apt distro based on os release contrib(nvidia): match right apt repo based on os release Apr 15, 2025
@crazy-max crazy-max requested a review from tonistiigi April 15, 2025 15:53
Copy link
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

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

This is for using contrib/cdisetup scripts with buildkit that is not built by our Dockerfile (buildkit-export-ubuntu target) ?

@crazy-max
Copy link
Member Author

This is for using contrib/cdisetup scripts with buildkit that is not built by our Dockerfile (buildkit-export-ubuntu target) ?

Yes I was looking to move buildkit to debian base distro and I thought it would be better to use the right apt repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants