From d4403daa617b6a33481c1dcbdea256a4e763fd65 Mon Sep 17 00:00:00 2001 From: Manoel Brunnen Date: Sun, 3 Feb 2019 23:14:07 +0100 Subject: [PATCH] Workaround for pip bug #6179 See https://github.com/pypa/pip/issues/6197 --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c1860cabf6..2a9bbfbec6 100755 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -132,11 +132,11 @@ COPY --from=BUILDER_IMAGE /code/docker/version . RUN chown -R mayan:mayan $PROJECT_INSTALL_DIR # Install build Mayan EDMS -RUN sudo -u mayan $PYTHON_PIP install --no-cache-dir *.whl && \ +RUN sudo -u mayan $PYTHON_PIP install --no-cache-dir --no-use-pep517 *.whl && \ rm *.whl # Install Python clients for librabbitmq, MySQL, PostgreSQL, REDIS -RUN sudo -u mayan $PYTHON_PIP install --no-cache-dir librabbitmq==1.6.1 mysql-python==1.2.5 psycopg2==2.7.3.2 redis==2.10.6 +RUN sudo -u mayan $PYTHON_PIP install --no-cache-dir --no-use-pep517 librabbitmq==1.6.1 mysql-python==1.2.5 psycopg2==2.7.3.2 redis==2.10.6 # Setup supervisor COPY docker/etc/supervisor/mayan.conf /etc/supervisor/conf.d