From 572d9e3f61355bed8fad51203f1acef7e4cad6aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Mon, 6 Jan 2025 17:13:56 +0100 Subject: [PATCH] Do not run uv sync directly in the Dockerfile --- dev_scripts/env.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev_scripts/env.py b/dev_scripts/env.py index e2b3d68..e8ae233 100755 --- a/dev_scripts/env.py +++ b/dev_scripts/env.py @@ -182,7 +182,8 @@ ENV PATH="$PATH:/home/user/.local/bin" RUN pipx install uv COPY pyproject.toml uv.lock /home/user/dangerzone/ -RUN cd /home/user/dangerzone && uv sync +# XXX Not sure why, but permission problems with the command below. Commenting it out for now as `uv` will get the deps later on. +# RUN cd /home/user/dangerzone && uv venv .venv-{distro}-{version} && uv sync """ DOCKERFILE_BUILD_DEBIAN_DEPS = r"""