feat(cuda): example to install using melange - #62
Merged
Conversation
Don't contain any CI solution due to it takes 30+ min to run. This can be solved using caching but I'm leaning it should be it's own workflow. I haven't updated any docs, right now I see this as an example
Contributor
Author
|
As mentioned in #54 I really recommend running this using this melange branch: chainguard-dev/melange#2268 to get caching if you want to run the build multiple times. |
Owner
|
@nissessenap thank you for the PR - really appreciate. I think we can get this to work. The file seems little monolithic - do you think we can split it into multiple melange packages? |
Contributor
Author
|
Sry missed your reply. I can take a look |
Convert the monolithic cuda-runtime package into a meta-package with 9 individual library subpackages, allowing users to install only the CUDA libraries they need. The meta-package still pulls all libs so the apko config and tests remain unchanged. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Author
|
@rtvkiz migrated over to sub pkgs and improved the tests a bit. |
- Add cuda-python to Makefile (build, scan, test, push, clean, help) - Add melange-build + build-melange CI matrix entries (x86_64 only) - Add CUDA Python row to README image table, bump badge to 36 - Fix /tmp ownership in apko config (root:root with sticky bit)
rtvkiz
approved these changes
Apr 16, 2026
Owner
|
Thanks @nissessenap I added some changes and merged the PR - I think it will work completely fine and you should be able to use the image as soon as the workflow runs. Thanks for the helping build minimal! |
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.
Don't contain any CI solution due to it takes 30+ min to run.
This can be solved using caching but I'm leaning it should be it's own workflow.
I haven't updated any docs, right now I see this as an example
solves #54