File Dockerfile of Package wicked2nm-container

# SPDX-License-Identifier: MIT
#!BuildTag: opensuse/wicked2nm:latest opensuse/wicked2nm:%%pkg_version%%

FROM opensuse/tumbleweed:latest

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.home.jcronenberg.wicked2nm
LABEL org.opencontainers.image.title="Migration of Wicked to NM git container"
LABEL org.opencontainers.image.description="This contains wicked2nm-%%pkg_version%%"
LABEL org.opencontainers.image.version="%%pkg_version%%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/wicked2nm:%%pkg_version%%"
# endlabelprefix

# do not install the files marked as documentation (use "rpm --excludedocs")
RUN sed -i -e "s/^.*rpm.install.excludedocs.*/rpm.install.excludedocs = yes/" /etc/zypp/zypp.conf

RUN zypper ar -G -f https://download.opensuse.org/repositories/home:/jcronenberg:/migrate-wicked/openSUSE_Tumbleweed jcronenberg_wicked2nm

# install needed packages
RUN zypper --non-interactive install --no-recommends \
  dbus-1-daemon \
  NetworkManager \
  wicked \
  wicked2nm

COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
openSUSE Build Service is sponsored by