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-24 16:07:08 +0800
commitd415712aeaf87dd6d7383a7649e15a9350aba07b (patch)
treeba462d6452deade15f0ea3ce4c37c405d8f1594c
parent879963d90e74a4fd003bb73e8d4e50e51679f923 (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>
-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 5d93d59..8d9313d 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 86e86dc..246895b 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