mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-28 19:44:21 +01:00
Reduce pipeline time by not installing golang. golang is not needed to use osc, it makes slower the image creation. - remove go dependency from pacakge lib Remove calls to golang, this will be not not installed in the docker image. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
16 lines
546 B
Docker
16 lines
546 B
Docker
FROM opensuse:leap
|
|
|
|
ARG SUSE_VERSION=${SUSE_VERSION:-42.3}
|
|
|
|
# Get OBS client, plugins and dependencies
|
|
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 \
|
|
obs-service-tar_scm \
|
|
obs-service-verify_file \
|
|
obs-service-obs_scm \
|
|
obs-service-recompress \
|
|
obs-service-download_url
|