1
0
Fork 0

docker: Add workaround to fix installation of dependencies by pip

pip release 10.0.0b1 (2018-03-31) removed support for uninstalling
projects which have been installed using distutils[1]. Thus a possible
workaround is to ignore the distribution-provided packages.

[1]: https://pip.pypa.io/en/stable/news/#deprecations-and-removals

This commit is based on the same workaround required in satnogs-network,
https://gitlab.com/librespacefoundation/satnogs/satnogs-network/merge_requests/489

Fixes issue #220.
merge-requests/221/head
Fabian P. Schmidt 2018-07-10 15:03:51 +02:00 committed by Corey Shields
parent d7406b5441
commit d6fdbf3e89
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ RUN yum -y clean all
RUN pip install --upgrade pip
COPY ./requirements/ /tmp/requirements/
RUN pip install --no-cache-dir --require-hashes --no-deps -r /tmp/requirements/dev.txt
RUN pip install --no-cache-dir --require-hashes --no-deps --ignore-installed -r /tmp/requirements/dev.txt
WORKDIR /app
EXPOSE 80