This is an automated email from the ASF dual-hosted git repository. narro pushed a commit to branch fix-ci in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit f17cad6292eaca3189592b8b785ecc49b9277c64 Author: narro wizard <[email protected]> AuthorDate: Tue Mar 17 06:31:43 2026 +0000 fix(ci): use pipx to install Poetry in Dockerfile Replace the curl installer with pipx, which is the officially recommended method for installing Poetry and more reliable in CI/CD environments. Also merged the installation into a single RUN statement to reduce layers. --- backend/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 69cbeca7a..9f4e6ce16 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -146,10 +146,11 @@ VOLUME /app/logs COPY python/ /app/python/ RUN python3 -m pip install --no-cache --upgrade pip setuptools && \ python3 -m pip install --no-cache -r python/requirements.txt && \ + python3 -m pip install --no-cache pipx && \ + python3 -m pipx ensurepath && \ + pipx install poetry && \ python3 -m pip install --upgrade pip -# Setup Python Poetry package manager -RUN curl -sSL https://install.python-poetry.org | python3 - ENV PATH="$PATH:/app/.local/bin" # Build Python plugins, make sure the scripts has execute permission
