aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2018-04-24 15:07:45 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2018-04-25 00:41:39 +0000
commit2097792fbfdca40c0a34c277dfac523911d58909 (patch)
tree2d014a3e488987bf3a339015be743e056f0dffb3
parent5f3d03f429bd4f77687fb2b19d487a7fae281553 (diff)
bugfix: pip 10 can't work
Docker image build failed on upgrading pip to 10.0.0 . Solution: https://github.com/pypa/pip/issues/5240#issuecomment-383115342 Change-Id: I330dedf9dbc32d8bdac5b8cb87b5123187007e2e Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn> (cherry picked from commit d415712aeaf87dd6d7383a7649e15a9350aba07b)
-rw-r--r--docker/Dockerfile2
-rw-r--r--docker/Dockerfile.local2
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 5d93d591..8d9313d2 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -41,7 +41,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN locale-gen en_US en_US.UTF-8 \
- && pip install -U pip \
+ && python -m pip install -U pip
&& pip install -U setuptools
#Cloning Repos
diff --git a/docker/Dockerfile.local b/docker/Dockerfile.local
index 86e86dcd..246895b7 100644
--- a/docker/Dockerfile.local
+++ b/docker/Dockerfile.local
@@ -41,7 +41,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN locale-gen en_US en_US.UTF-8 \
- && pip install -U pip \
+ && python -m pip install -U pip \
&& pip install -U setuptools
COPY . $REPOS_DIR/qtip