Pin the uv stage image to a digest managed by Renovate
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, python
- Domain
- build-system, ci-cd
Research direction
Start by reading the python.j2 macro and find the python-builder stage that uses ghcr.io/astral-sh/uv:debian-slim. Check the repository's existing image pinning and Renovate configuration to see how digests are managed. Done means the stage is pinned to a SHA digest, automation can update it, and daily and preview builds still pick up new Python releases.
Written by the indexing model from the issue text.
Description
Pin the ghcr.io/astral-sh/uv:debian-slim stage used by the Python build macro to an image digest, and keep it current with Renovate or similar automation, so the stage is cached instead of re-pulled on every build.
The python.j2 macro currently uses the floating debian-slim tag for python-builder, so the Python install and copy steps can't be reliably cached. This adds avoidable network traffic and Cloudsmith spend.
- Pin the uv stage to a SHA digest.
- Add Renovate (or equivalent) config to bump the digest.
- Confirm that Python installs for daily/preview builds still pick up new releases as intended.
Part of the effort to reduce Cloudsmith spend for image builds.
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/images-shared
-
Add max-parallel input to bakery-build-native.yml to cap matrix build concurrencyPossibly taken A pull request linked to this issue is open or already merged. Opencvp:0 docker tdp:1
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
posit-dev/images-shared#757 · 2 comments ·
Maintainers usually reply within 2 days
-
slack-build-notify: no persisted alert state — causes suppressed repeat-failure and recovery alertsOpenbug cicd cvp:0 docker needs discussion observability tdp:2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
posit-dev/images-shared#677 ·
Maintainers usually reply within 2 days
-
bakery ci publish drops all but one platform from SOCI-enabled images since oras 1.4.0Possibly taken A pull request linked to this issue is open or already merged. Openbug cicd docker priority/critical
Difficulty 3/5 1-2 days Newbie friendliness 55/100
posit-dev/images-shared#908 ·
Maintainers usually reply within 2 days
-
cicd cvp:0 docker enhancement epic tdp:2
Difficulty 5/5 Over a week Newbie friendliness 35/100
posit-dev/images-shared#902 ·
Maintainers usually reply within 2 days
-
bug cicd cvp:0 docker tdp:2
Difficulty 3/5 1-2 days Newbie friendliness 70/100
posit-dev/images-shared#896 ·
Maintainers usually reply within 2 days
All issues in posit-dev/images-shared
Similar issues
-
jira: an unquoted JQL number of more than 4300 digits is a plain-text 500, where real answers 200Openfidelity
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
A JSON chat answer blocks the backend event loop for the whole RAG runPossibly taken @NopeCharon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainers usually reply within 1 day
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day