Fix for opensuse image build issue.

Modified python3 to pip3 to upgrade.

Related changes has been merged:
    armada: https://review.opendev.org/#/c/676806/
    pegleg: https://review.opendev.org/#/c/676944/
    shipyard: https://review.opendev.org/#/c/678684/

Change-Id: If67a7843261e898c8d438a0fd195d4b0dc87b495
This commit is contained in:
Rajeshwari Dharwadkar 2019-08-26 18:29:29 -07:00
parent 0c20cc6200
commit 1ea9904076

View File

@ -48,9 +48,11 @@ RUN set -x && \
libffi-devel \
libopenssl-devel \
libpqxx-devel \
&& zypper --non-interactive --no-gpg-checks ar -f https://download.opensuse.org/repositories/devel:languages:python/openSUSE_Leap_15.1/devel:languages:python.repo \
&& zypper --non-interactive --no-gpg-checks install python3-six-1.12.0-lp151.80.1.noarch \
&& python3 -m pip install -U pip \
&& zypper --non-interactive ar -f https://download.opensuse.org/repositories/devel:languages:python/openSUSE_Leap_15.1/devel:languages:python.repo \
&& zypper --non-interactive --gpg-auto-import-keys refresh devel_languages_python \
&& zypper --non-interactive install python3-six-1.12.0-lp151.80.1.noarch
RUN pip3 install -U pip \
&& zypper clean -a \
&& rm -rf \
/tmp/* \