mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-11 19:56:03 +00:00
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>' |
||
|---|---|---|
| .. | ||
| Containerfile | ||