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
The following commit(s) were added to refs/heads/fix-ci by this push:
new cdb192ffd fix(ci): use python3 -m pipx to install poetry
cdb192ffd is described below
commit cdb192ffd2cbf56eb3fcf2339bf61dab9e794482
Author: narro wizard <[email protected]>
AuthorDate: Tue Mar 17 07:01:37 2026 +0000
fix(ci): use python3 -m pipx to install poetry
Use 'python3 -m pipx install poetry' instead of 'pipx install poetry'
because the pipx executable may not be in PATH yet during the same
RUN command that installs pipx.
---
backend/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/Dockerfile b/backend/Dockerfile
index 9f4e6ce16..28e78264d 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -148,7 +148,7 @@ 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 pipx install poetry && \
python3 -m pip install --upgrade pip
ENV PATH="$PATH:/app/.local/bin"