Merge pull request #3897 from modoboa/fix/docker-image-build

Install pip < 26 to avoid compatibility issue with pip-tools.
This commit is contained in:
Antoine Nguyen
2026-02-05 14:46:12 +01:00
committed by GitHub
+1 -1
View File
@@ -16,7 +16,7 @@ RUN apk add --update openssl librrd python3-dev libffi-dev \
RUN python3 -m venv $VIRTUAL_ENV
WORKDIR /tmp
COPY . /tmp
RUN python -m pip install -U pip pip-tools ruff
RUN python -m pip install -U 'pip<26' pip-tools ruff
RUN pip-compile --output-file=requirements.txt pyproject.toml
RUN pip-compile --extra=mysql --output-file=mysql-requirements.txt pyproject.toml
RUN pip-compile --extra=ldap --output-file=ldap-requirements.txt pyproject.toml