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>
&& 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
&& 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