Skip to content
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

[REQ] Allow content from llb source to satisfy package deps #358

Open
1 task
cpuguy83 opened this issue Aug 28, 2024 · 0 comments
Open
1 task

[REQ] Allow content from llb source to satisfy package deps #358

cpuguy83 opened this issue Aug 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cpuguy83
Copy link
Member

What kind of request is this?

New feature

What is your request or suggestion?

Sometimes content just isn't in a package repo or the one in the repo is too old, too new, missing patches, whatever.
It would be cool to allow injecting content (e.g. from a docker image) into a build that satisfies the package dependency.
The package should still be declared a dependency but dalec can fetch the content and wrap it up in a (binary) package itself.

This would be especially useful for build-time deps.
I'm not sure if we should support this for runtime deps, but I'm not completely against it.

At build time we can have some optimizations so we don't need to do a copy we can just mount the content in and create a stub package to satisfy the package manager.

An example use for this would be msft-go where we don't have packages for this except for azlinux, but we still need to build on ubuntu for certain cases.
With this proposed feature we could pull in the signed binaries (or just use the docker image) to satisfy the go requirement.

Are you willing to submit PRs to contribute to this feature request?

  • Yes, I am willing to implement it.
@cpuguy83 cpuguy83 added the enhancement New feature or request label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant