File Dockerfile of Package basebox
# SPDX-License-Identifier: MIT
#!BuildTag: opensuse/distrobox-basebox:latest
#!BuildTag: opensuse/distrobox-basebox:%OS_VERSION_ID%
#!BuildTag: opensuse/distrobox-basebox:%OS_VERSION_ID%.%RELEASE%
#!ExclusiveArch: x86_64
FROM opensuse/distrobox:latest
# labelprefix=org.opensuse.distrobox-basebox
PREFIXEDLABEL org.opencontainers.image.title="Distrobox basebox container"
PREFIXEDLABEL org.opencontainers.image.description="Distrobox basebox container"
PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%"
PREFIXEDLABEL org.opencontainers.image.version="%OS_VERSION_ID%.%RELEASE%"
PREFIXEDLABEL org.opencontainers.image.vendor="openSUSE Project"
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
PREFIXEDLABEL org.opensuse.reference="registry.opensuse.org/opensuse/distrobox-basebox:%OS_VERSION_ID%.%RELEASE%"
# openSUSE-release included to ensure %OS_VERSION_ID% can be found/used by kiwi-metainfo-helper
RUN zypper --non-interactive install \
openSUSE-release \
ca-certificates-suse \
wl-clipboard \
rustup \
helix helix-runtime helix-bash-completion \
git \
git-delta \
git-absorb \
&& zypper clean \
&& sed -i 's/.*solver.onlyRequires.*/solver.onlyRequires = false/g' /etc/zypp/zypp.conf \
&& sed -i 's/.*rpm.install.excludedocs.*/rpm.install.excludedocs = no/g' /etc/zypp/zypp.conf