Fix opensuse_15 image

Leap 15.3 changes for opensuse image build

Change-Id: I24952bf66f579a5b96ecff7b55fbc39877c93f7c
This commit is contained in:
anthony.bellino 2021-05-10 09:00:50 -07:00 committed by Anthony Bellino
parent 1997595fc2
commit 5acd80abcf

View File

@ -1,4 +1,4 @@
ARG FROM=opensuse/leap:15.1 ARG FROM=opensuse/leap:15.3
FROM ${FROM} FROM ${FROM}
ARG CFSSLURL=https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 ARG CFSSLURL=https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
@ -31,9 +31,9 @@ RUN set -x \
python3-pip \ python3-pip \
python3-setuptools \ python3-setuptools \
which \ which \
&& zypper --non-interactive ar -f https://download.opensuse.org/repositories/devel:languages:python/openSUSE_Leap_15.1/devel:languages:python.repo \ && zypper --non-interactive ar -f https://download.opensuse.org/repositories/devel:languages:python/openSUSE_Leap_15.3/devel:languages:python.repo \
&& zypper --non-interactive --gpg-auto-import-keys refresh devel_languages_python \ && zypper --non-interactive --gpg-auto-import-keys refresh devel_languages_python \
&& zypper --non-interactive install python3-six-1.11.0-lp151.3.1.noarch && zypper --non-interactive install python3-six-1.16.0-lp153.103.1.noarch
RUN pip3 install -U pip \ RUN pip3 install -U pip \
&& zypper clean -a \ && zypper clean -a \
&& rm -rf \ && rm -rf \