From 4dd5110eef8bb429352dedc272d8d5c404d3106a Mon Sep 17 00:00:00 2001 From: Christoph Gissler Date: Wed, 16 May 2018 17:46:02 +0200 Subject: [PATCH] hopefully fixing pip install --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 56d0e9a..49e7f69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,10 +52,11 @@ RUN yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-dev make altinstall && \ popd && \ rm -rf /tmp/python_download && \ - /opt/Python35/bin/pip3.5 install six progressbar2 wheel && \ yum clean all # Update the library search path such that the so is found by python. ENV LD_LIBRARY_PATH="/opt/Python35/lib:${LD_LIBRARY_PATH}" +# Install pip packages for Python 3.5. +RUN /opt/Python35/bin/pip3.5 install six progressbar2 wheel # Download and install Python 2.7. RUN yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel expat-devel && \ @@ -71,11 +72,12 @@ RUN yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-dev make altinstall && \ popd && \ rm -rf /tmp/python_download && \ - /opt/Python27/bin/python2.7 -m ensurepip --upgrade && \ - /opt/Python27/bin/pip2.7 install wheel && \ yum clean all # Update the library search path such that the so is found by python. ENV LD_LIBRARY_PATH="/opt/Python27/lib:${LD_LIBRARY_PATH}" +# Install pip packages for Python 2.7. +RUN /opt/Python27/bin/python2.7 -m ensurepip --upgrade && \ + /opt/Python27/bin/pip2.7 install wheel # Download and install Qt 5.7. ADD qt-installer-noninteractive.qs /tmp/qt_download/script.qs