Skip to content

feat(cuda): example to install using melange - #62

Merged
rtvkiz merged 5 commits into
rtvkiz:mainfrom
nissessenap:cuda_example
Apr 16, 2026
Merged

feat(cuda): example to install using melange#62
rtvkiz merged 5 commits into
rtvkiz:mainfrom
nissessenap:cuda_example

Conversation

@nissessenap

@nissessenap nissessenap commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

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

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
@nissessenap

Copy link
Copy Markdown
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.

@rtvkiz

rtvkiz commented Apr 10, 2026

Copy link
Copy Markdown
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?

@nissessenap

Copy link
Copy Markdown
Contributor Author

Sry missed your reply. I can take a look

nissessenap and others added 2 commits April 12, 2026 07:56
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>
@nissessenap

Copy link
Copy Markdown
Contributor Author

@rtvkiz migrated over to sub pkgs and improved the tests a bit.

rtvkiz added 2 commits April 15, 2026 22:46
- 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
rtvkiz merged commit 555a1a1 into rtvkiz:main Apr 16, 2026
2 checks passed
@rtvkiz

rtvkiz commented Apr 16, 2026

Copy link
Copy Markdown
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!

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.

2 participants