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

Support architecture for dependencies #618

Open
c0d1ngm0nk3y opened this issue Dec 6, 2024 · 0 comments · May be fixed by #622
Open

Support architecture for dependencies #618

c0d1ngm0nk3y opened this issue Dec 6, 2024 · 0 comments · May be fixed by #622

Comments

@c0d1ngm0nk3y
Copy link
Contributor

Describe the Enhancement

When resolving a buildpack dependency, the architecture should be taken into account. That would allow the same version to be present for different architectures (e.g. arm and amd). This would allow arm support for buildpacks using packit.

Possible Solution

The Resolve function should take the architecture in consideration when looking for a dependency. Similar to the Resolve function in libpak. But the solution should be less "hacky" (e.g. taking the architecture from a property rather the purl)

Motivation

paketo-buildpacks/nodejs#995

In order to get arm support for the nodejs meta buildpack, there must be a way to filter dependencies on their architecture.

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 a pull request may close this issue.

1 participant