Skip to content

Conversation

@stintel
Copy link
Collaborator

@stintel stintel commented May 7, 2025

No description provided.

stintel added 4 commits May 7, 2025 17:00
This can greatly speed up container build times. It appears we need to
add the --cache-dir option so that actual apk's are also saved in the
cache directory. Without it, only APKINDEX files are kept.
Use Alpine base container instead of the Python Alpine variant.

To avoid the pip externally-managed-environment error, we need to build
in a virtualenv, but let's switch to uv while at it, which simplifies
managing the virtualenv and should also speed up the build process.
This reduces the container image size from 407MiB with the Python base
container to 143MiB.
And add other files created by uv init.
@stintel stintel force-pushed the build/container_improvements branch from b4a9fb6 to ac75636 Compare May 8, 2025 16:41
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.

1 participant