obs: docker: update leap image base.

The image tag opensuse:leap not longer exist
use the the new image format.

Fixes: #615

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
Jose Carlos Venegas Munoz 2019-07-03 16:52:00 -05:00
parent a5ff98ff49
commit 3aba4d330d

View File

@ -1,12 +1,9 @@
FROM opensuse:leap
ARG SUSE_VERSION=${SUSE_VERSION:-42.3} ARG SUSE_VERSION=${SUSE_VERSION:-42.3}
FROM opensuse/leap:${SUSE_VERSION}
# Get OBS client, plugins and dependencies # Get OBS client, plugins and dependencies
RUN zypper -v -n install osc-plugin-install vim curl bsdtar git sudo RUN zypper -v -n install osc-plugin-install vim curl bsdtar git sudo
RUN curl -OkL https://download.opensuse.org/repositories/openSUSE:Tools/openSUSE_${SUSE_VERSION}/openSUSE:Tools.repo
RUN zypper -n addrepo openSUSE:Tools.repo
RUN zypper --gpg-auto-import-keys refresh
RUN zypper -v -n install build \ RUN zypper -v -n install build \
obs-service-tar_scm \ obs-service-tar_scm \
obs-service-verify_file \ obs-service-verify_file \