From d454118887ab48c3dc37b5739fb9e10aac54e8e3 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 8 Nov 2024 11:47:43 +0100 Subject: [PATCH] fix(container-images): install uv as system package (#4094) Signed-off-by: Ettore Di Giacinto --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a2709877..01e5f6ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -85,7 +85,8 @@ WORKDIR /build # The requirements-extras target is for any builds with IMAGE_TYPE=extras. It should not be placed in this target unless every IMAGE_TYPE=extras build will use it FROM requirements-core AS requirements-extras -RUN curl -LsSf https://astral.sh/uv/install.sh | sh +# Install uv as a system package +RUN curl -LsSf https://astral.sh/uv/install.sh | UV_INSTALL_DIR=/usr/bin sh ENV PATH="/root/.cargo/bin:${PATH}" RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y