-
Notifications
You must be signed in to change notification settings - Fork 2
fix: add cache mounts for uv to prevent Python installation in image #74
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
Conversation
uv/uvx downloads and installs Python to ~/.local/share/uv/python when running bindep. Add cache mounts for both the uv cache and data directories to prevent these files from being included in the final image. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
|
/cherry-pick stable/2025.2 stable/2025.1 stable/2024.2 stable/2024.1 stable/2023.2 stable/2023.1 stable/zed |
|
@mnaser: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser: new pull request created: #75 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
|
@mnaser Digest: |
Summary
uv/uvx downloads and installs Python to
~/.local/share/uv/pythonwhen running bindep via uvx. This was leaving Python 3.14 files in the final image.Add cache mounts for both:
/root/.cache/uv- package cache/root/.local/share/uv- Python installations and tool environmentsThis prevents these files from being included in the final image layer.
🤖 Generated with Claude Code