Skip to content
Snippets Groups Projects
Commit 991097f4 authored by nimrod's avatar nimrod
Browse files

Workbench: Pin the Python packaing package.

Otherwise pip tries to uninstall it and fails because it was installed
by APT.
parent 4b92230c
No related branches found
No related tags found
No related merge requests found
Pipeline #3856 failed
...@@ -164,8 +164,9 @@ ENV PIPX_HOME /opt/pipx ...@@ -164,8 +164,9 @@ ENV PIPX_HOME /opt/pipx
ENV PIPX_BIN_DIR /opt/pipx/bin ENV PIPX_BIN_DIR /opt/pipx/bin
# hadolint ignore=DL3013 # hadolint ignore=DL3013
RUN export PIP_CONSTRAINT=/tmp/constraint.txt && \ RUN export PIP_CONSTRAINT=/tmp/constraint.txt && \
echo 'resolvelib==0.5.4' > "$PIP_CONSTRAINT" && \
echo 'Cython < 3.0' >> "$PIP_CONSTRAINT" && \ echo 'Cython < 3.0' >> "$PIP_CONSTRAINT" && \
echo 'packaging==24.0' >> "$PIP_CONSTRAINT" && \
echo 'resolvelib==0.5.4' >> "$PIP_CONSTRAINT" && \
python3 -m pip install --no-cache-dir --break-system-packages \ python3 -m pip install --no-cache-dir --break-system-packages \
https://github.com/aws/aws-cli/archive/refs/heads/v2.zip \ https://github.com/aws/aws-cli/archive/refs/heads/v2.zip \
Glances \ Glances \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment