From a9f775082a769a3360c2e1a15eff850530780b03 Mon Sep 17 00:00:00 2001 From: Maximilian Staab Date: Fri, 6 Oct 2023 20:04:50 +0200 Subject: [PATCH] Use pipx for installing poetry --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 321db02..b2a2f3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -81,7 +81,9 @@ RUN apt-get install --assume-yes --no-install-recommends \ ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:/root/.local/bin:$PATH" # debian packaged version was too old for the new repository feature of poetry -RUN pip install poetry +# the piwheel thing is an issue with hashes, no idea why it was happening, though +RUN apt-get install --assume-yes --no-install-recommends pipx +RUN pipx install poetry RUN poetry --version # NOTE: This only works when installing with pip: https://github.com/python-poetry/poetry/issues/6035