Skip to content

Commit

Permalink
Avoid errors by pinning pip, pip-compile versions
Browse files Browse the repository at this point in the history
Fixes `Cannot uninstall 'Python'. It is a distutils installed project...` and
the like, but we'll have to deal with this in a more lasting way soon
  • Loading branch information
jnm committed Jun 6, 2018
1 parent cae8dc8 commit d27350f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.koboform_base
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ RUN apt-get update -qq && \
###########################

WORKDIR ${PIP_DIR}/
RUN pip install --quiet --upgrade pip && \
pip install --quiet pip-tools
RUN pip install --quiet 'pip>=9,<10' && \
pip install --quiet 'pip-tools>=1.11,<2'
COPY ./dependencies/pip/external_services.txt /srv/tmp/base__external_services.txt
RUN pip-sync /srv/tmp/base__external_services.txt 1>/dev/null && \
rm -rf ~/.cache/pip
Expand Down

0 comments on commit d27350f

Please sign in to comment.