Gate: update paths for pip 10 installation

Pip>=10 moves the entrypoint to /usr/local/bin from /usr/bin, this
ps forces the shell to forget all locations following upgrade
to allow it to adapt to the new location.

Change-Id: I1ed92b75f689e982397cd4fc87ac262256e161e8
This commit is contained in:
Pete Birley 2018-04-15 11:36:28 -05:00
parent 8eae6d8509
commit 6921006103

View File

@ -55,6 +55,7 @@ RUN set -ex ;\
python-pip \ python-pip \
gawk ;\ gawk ;\
pip --no-cache-dir install --upgrade pip ;\ pip --no-cache-dir install --upgrade pip ;\
hash -r ;\
pip --no-cache-dir install setuptools ;\ pip --no-cache-dir install setuptools ;\
pip --no-cache-dir install kubernetes ;\ pip --no-cache-dir install kubernetes ;\
pip --no-cache-dir install ansible ;\ pip --no-cache-dir install ansible ;\