From 7db80df1164882a36bce8e265cf0f302bd7891b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 27 Feb 2025 14:00:07 +0100 Subject: [PATCH] build(container): remove uv once done MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When we are done installing package, let's remove uv. Signed-off-by: Sébastien Han --- llama_stack/distribution/build_container.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llama_stack/distribution/build_container.sh b/llama_stack/distribution/build_container.sh index 39782e23b..86e9de058 100755 --- a/llama_stack/distribution/build_container.sh +++ b/llama_stack/distribution/build_container.sh @@ -165,6 +165,11 @@ EOF fi fi +# remove uv after installation + add_to_container << EOF +RUN pip uninstall -y uv +EOF + # if template_or_config ends with .yaml, it is not a template and we should not use the --template flag if [[ "$template_or_config" != *.yaml ]]; then add_to_container << EOF