Switch Docker dependency installs to uv #30

Merged
rhino merged 1 commits from cursor/switch-to-uv into main 2026-10-09 15:04:53 +00:00
Owner

Summary

  • Install Python packages with uv instead of pip during the image build.
  • Keep PIP_INDEX_URL / PIP_TRUSTED_HOST and map them to uv only when set.
  • Cache uv downloads across rebuilds with a BuildKit mount.

Test plan

  • Run docker compose build and confirm dependencies install via uv.
  • Build with no PIP_* vars and confirm packages come from public PyPI.
  • Build with PIP_INDEX_URL set to a HTTPS mirror and confirm installs use that index.
  • Rebuild twice and confirm the second build reuses the uv cache.
## Summary - Install Python packages with uv instead of pip during the image build. - Keep PIP_INDEX_URL / PIP_TRUSTED_HOST and map them to uv only when set. - Cache uv downloads across rebuilds with a BuildKit mount. ## Test plan - [ ] Run `docker compose build` and confirm dependencies install via uv. - [ ] Build with no PIP_* vars and confirm packages come from public PyPI. - [ ] Build with PIP_INDEX_URL set to a HTTPS mirror and confirm installs use that index. - [ ] Rebuild twice and confirm the second build reuses the uv cache.
rhino added 1 commit 2026-10-09 15:03:34 +00:00
rhino changed title from WIP: Switch Docker dependency installs to uv to Switch Docker dependency installs to uv 2026-10-09 15:04:51 +00:00
rhino merged commit 7b9255d31c into main 2026-10-09 15:04:53 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rhino/product-slip#30