From b2c09f6b157896afb7ed2415a92128eb5b799262 Mon Sep 17 00:00:00 2001 From: ahkui <14049597+ahkui@users.noreply.github.com> Date: Mon, 7 May 2018 15:03:52 +0800 Subject: [PATCH 1/2] Update Dockerfile fix pip v10 error Traceback (most recent call last): File "/usr/bin/pip", line 9, in from pip import main ImportError: cannot import name main --- workspace/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 6637419..bba085b 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -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 ########################################################################### From d08177d2c2e7ac475412fc23e6d08896903b3136 Mon Sep 17 00:00:00 2001 From: "KUI\\ahkui" Date: Sun, 20 May 2018 19:22:30 +0800 Subject: [PATCH 2/2] fix wrong spelling --- workspace/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index bba085b..287f07c 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -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 \ - && pythom -m pip install --upgrade pip \ - && pythom -m pip install --upgrade virtualenv \ + && python -m pip install --upgrade pip \ + && python -m pip install --upgrade virtualenv \ ;fi ###########################################################################