Update Dockerfile

fix pip v10 error 
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    from pip import main
ImportError: cannot import name main
This commit is contained in:
ahkui 2018-05-07 15:03:52 +08:00 committed by GitHub
parent 0c41fceae1
commit b2c09f6b15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -641,8 +641,8 @@ ARG INSTALL_PYTHON=false
RUN if [ ${INSTALL_PYTHON} = true ]; then \
apt-get -y install python python-pip python-dev build-essential \
&& pip install --upgrade pip \
&& pip install --upgrade virtualenv \
&& pythom -m pip install --upgrade pip \
&& pythom -m pip install --upgrade virtualenv \
;fi
###########################################################################