llama-stack-mirror/containers
Ashwin Bharambe 02cfdcca18 fix(ci): unset empty UV index env vars to prevent uv errors
Docker ARGs with empty defaults (ARG VAR="") are exposed as environment
variables with empty string values in RUN commands. UV interprets these
as if --index-strategy "" was passed, causing "value required" errors.

Fixed by:
- Unsetting UV_EXTRA_INDEX_URL and UV_INDEX_STRATEGY at the start of RUN blocks
- Saving values early and only restoring them for editable installs with RC deps
- Ensuring all other install modes run with clean environment

This fixes container builds failing with:
  error: a value is required for '--index-strategy <UV_INDEX_STRATEGY>'
2025-10-31 13:21:57 -07:00
..
Containerfile fix(ci): unset empty UV index env vars to prevent uv errors 2025-10-31 13:21:57 -07:00