llama-stack-mirror/llama_stack
Derek Higgins 91f169ab77 fix: optimize container build by enabling uv cache
- Remove --no-cache flags from uv pip install commands to enable caching
- Mount host cache directory to container for persistent caching
- Set UV_LINK_MODE=copy to prevent uv using hardlinks
- When building the starter image
  o Build time reduced from ~4:45 to ~3:05 on subsequent builds (environment specific)
  o Eliminates re-downloading of 3G+ of data on each build
  o Cache size: ~6.2G (when building starter image)

Fixes excessive data downloads during distro container builds.

Signed-off-by: Derek Higgins <derekh@redhat.com>
2025-07-22 17:46:38 +01:00
..
apis fix(vectordb): VectorDBInput has no provider_id (#2830) 2025-07-21 14:03:40 +02:00
cli chore: merge --config and --template in server.py (#2716) 2025-07-21 13:19:27 -07:00
distribution fix: optimize container build by enabling uv cache 2025-07-22 17:46:38 +01:00
models chore(api): add mypy coverage to chat_format (#2654) 2025-07-18 11:56:53 +02:00
providers docs: minor fix of the pgvector provider spec description (#2847) 2025-07-21 22:10:35 -07:00
strong_typing chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
templates feat(ci): add a ci-tests distro (#2826) 2025-07-18 17:11:06 -07:00
ui fix: re-hydrate requirement and fix package (#2774) 2025-07-16 05:46:15 -04:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00
env.py refactor(test): move tools, evals, datasetio, scoring and post training tests (#1401) 2025-03-04 14:53:47 -08:00
log.py chore: remove nested imports (#2515) 2025-06-26 08:01:05 +05:30
schema_utils.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00