diff --git a/llama_stack/distribution/build_container.sh b/llama_stack/distribution/build_container.sh index e5ec5b4e2..d0874d99f 100755 --- a/llama_stack/distribution/build_container.sh +++ b/llama_stack/distribution/build_container.sh @@ -78,7 +78,16 @@ if [ -n "$LLAMA_STACK_DIR" ]; then # rebuild. This is just for development convenience. add_to_docker "RUN pip install --no-cache -e $stack_mount" else - add_to_docker "RUN pip install --no-cache llama-stack" + if [ -n "$TEST_PYPI_VERSION" ]; then + # these packages are damaged in test-pypi, so install them first + add_to_docker "RUN pip install fastapi libcst" + add_to_docker <