From 61594646d5ce49ebada405ea662a59e97170b29d Mon Sep 17 00:00:00 2001 From: Joseph Date: Sat, 18 Jan 2025 20:11:50 +0300 Subject: [PATCH] build: update uv installation into docker image --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c47830f..738c353 100755 --- a/Dockerfile +++ b/Dockerfile @@ -29,9 +29,8 @@ RUN \ bison \ flex -# configure Python environment -RUN python3 -m pip install pip --upgrade && \ - python3 -m pip install -r requirement-uv.txt && \ +# install UV and create .venv +RUN curl -LsSf https://astral.sh/uv/$(cat ./requirement-uv.txt | awk -F'==' '{print $2}' | tr -d ' \n')/install.sh | /bin/sh && \ uv sync --frozen --no-install-project # install shared tools from tools.json;