Pin pip to 18.1 to allow build of docker images

Task: 29045
Story: 2004843

This patch pins pip to 18.1 as the latest pip 19.0 has a problem with
--no-cache-dir option. This problem is causing the build of docker
images of mariadb and kubeadm-aio to fail when they upgrade the
setuptools package.

Change-Id: If2b76249eeacec519a6a76605607ba6f3f81ac7d
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
This commit is contained in:
Stamatis Katsaounis 2019-01-23 11:50:44 +02:00
parent 067a37f76f
commit 032740957e
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ RUN set -ex ;\
jq \
python-pip \
gawk ;\
pip --no-cache-dir install --upgrade pip ;\
pip --no-cache-dir install --upgrade pip==18.1 ;\
hash -r ;\
pip --no-cache-dir install --upgrade setuptools ;\
# NOTE(srwilkers): Pinning ansible to 2.5.5, as pip installs 2.6 by default.

View File

@ -6,7 +6,7 @@ RUN set -ex ;\
apt-get upgrade -y ;\
apt-get install -y --no-install-recommends \
python-pip ;\
pip --no-cache-dir install --upgrade pip ;\
pip --no-cache-dir install --upgrade pip==18.1 ;\
hash -r ;\
pip --no-cache-dir install --upgrade setuptools ;\
pip --no-cache-dir install --upgrade \