File kiwi-application-container.kiwi of Package kiwi-application-container
<?xml version="1.0" encoding="utf-8"?>
<image schemaversion="6.5" name="kiwi-application-container" xmlns:suse_label_helper="com.suse.label_helper">
<description type="system">
<!-- Fill with the appropriate information -->
<author>Fabian Vogt</author>
<contact>fvogt@suse.com</contact>
<specification>Container with VIM</specification>
<license>MIT</license>
</description>
<preferences>
<!-- Depending on the content, it might make sense to derive from a base image.
If not, remove the derived_from attribute.
With glibc, coreutils, zypper: derived_from="obsrepositories:/suse/sle15#15.X" -->
<type image="docker" derived_from="obsrepositories:/suse/sle15#15.4">
<!-- Fill in name/tag and maintainer here. -->
<containerconfig
name="example/vim-container" tag="latest"
additionaltags="%PKG_VERSION%,%PKG_VERSION%.%RELEASE%"
maintainer="Fabian Vogt <fvogt@suse.com>">
<!-- Fill with the appropriate entrypoint.
In some cases a custom script (part of an archive) is useful. -->
<entrypoint execute="/usr/bin/pause"/>
<labels>
<!-- Fill the proper metainfomation here and assign a proper prefix.
See https://en.opensuse.org/Building_derived_containers#Labels -->
<suse_label_helper:add_prefix prefix="com.suse.example.vim">
<label name="org.opencontainers.image.title" value="SUSE VIM Container"/>
<label name="org.opencontainers.image.description" value="Container with Vi Improved."/>
<label name="org.opensuse.reference" value="registry.suse.com/example/vim-container:%PKG_VERSION%.%RELEASE%"/>
<label name="org.opencontainers.image.version" value="%PKG_VERSION%.%RELEASE%"/>
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
</suse_label_helper:add_prefix>
</labels>
<!-- Fill as appropriate -->
<history author="Fabian Vogt <fvogt@suse.com>">Container with VIM.</history>
</containerconfig>
</type>
<version>1.0.0</version>
<packagemanager>zypper</packagemanager>
<rpm-excludedocs>true</rpm-excludedocs>
</preferences>
<repository>
<source path="obsrepositories:/"/>
</repository>
<packages type="bootstrap">
<!-- When using a base image, work around https://github.com/openSUSE/obs-build/issues/487 -->
<package name="sles-release"/>
<!-- Fill with your package(s) here -->
<package name="vim"/>
<!-- If you have a custom entrypoint script:
<archive name="entrypoint.tar.gz"/> -->
</packages>
</image>