Updating pip reference to pip3 for upgrade

Modified pip reference to pip3 as we are using python3 here
installed within python3 site-packages. So no need to update
pip in python3 again so removing python3 -m pip step.

Adding some debugging steps

Change-Id: Ie5cebed69ede6ae3071ecbd4508c88330c05a4c7
This commit is contained in:
Arun Kant 2019-08-15 12:46:32 -07:00
parent 77deecc294
commit c967e35e44
1 changed files with 12 additions and 3 deletions

View File

@ -31,9 +31,18 @@ RUN mkdir -p /armada && \
gcc \
git \
libopenssl-devel \
make && \
pip install --upgrade pip && \
python3 -m pip install -U pip && \
make \
which
RUN pip3 --version
RUN which pip3
RUN python3 --version
RUN which python3
RUN ls -lrt `which python3`
RUN ls -lrt /usr/bin/p*
RUN chmod +x `which python3`
RUN pip3 install --upgrade pip && \
zypper clean -a && \
rm -rf \
/tmp/* \