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
parent
d7406b5441
commit
d6fdbf3e89
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue