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

Unable to build image with local packages with dependencies not in indexes #1541

Open
mbrancato opened this issue Feb 25, 2025 · 0 comments
Open

Comments

@mbrancato
Copy link

I've been following a few issues with local packages recently. Originally, I was hoping #1264 would solve my problems, but with newer versions, I've identified some other problems. Other issues like #1448 were resolved, but didn't solve all the issues for local packages.

As of apko 0.23.0+ I've identified a new problem where local packages that have dependencies from upstream cannot be built. Packages that do not have dependencies (such as statically compiled) seem to work fine with the latest (0.25.1).

Here is what the output looks like in 0.25.1:

% apko build --arch aarch64 image.yaml image test.tar --ignore-signatures
Error: building "arm64" layer: installing apk packages: error getting package dependencies: solving "py3.13-celery-prometheus-exporter-bundle=1.7.0-r0" constraint: not in indexes
2025/02/24 22:24:36 INFO error during command execution: building "arm64" layer: installing apk packages: error getting package dependencies: solving "py3.13-celery-prometheus-exporter-bundle=1.7.0-r0" constraint: not in indexes

Version 0.22.1 still works with local dependencies, but everything newer appears to fail.

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

No branches or pull requests

1 participant