File Dockerfile of Package uyuni-utils

# SPDX-License-Identifier: Apache-2.0
#!BuildTag: uyuni-utils:latest
#!BuildTag: uyuni-utils:%OS_VERSION_ID%
#!BuildTag: uyuni-utils:%OS_VERSION_ID%.%RELEASE%
FROM opensuse/distrobox:latest
LABEL maintainer="Alexander Graul <agraul@suse.com>"

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.uyuni-utils
LABEL org.opencontainers.image.title="Uyuni utils"
LABEL org.opencontainers.image.description="Several utilities to develop, build and release Uyuni"
LABEL org.opencontainers.image.version="%OS_VERSION_ID%.%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/home/agraul/containers/uyuni-utils:%OS_VERSION_ID%.%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opencontainers.image.created="%BUILDTIME%"
# endlabelprefix

RUN zypper --non-interactive addrepo --refresh https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Utils/openSUSE_Tumbleweed/ Uyuni:Utils
RUN zypper --non-interactive --gpg-auto-import-keys refresh  

# openSUSE-release included to ensure %OS_VERSION_ID% can be found/used by kiwi-metainfo-helper
RUN zypper --non-interactive install --no-recommends \
  git \
  osc \
  tito \
  obs-to-maven \
  yarn \
  neovim \
  openSUSE-release
openSUSE Build Service is sponsored by