Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Add labels, prepare to use busybox base image #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions coredns-image/coredns-image.kiwi.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>

<!-- OBS-AddTag: _NAMESPACE_/coredns:%%LONG_VERSION%% _NAMESPACE_/coredns:%%LONG_VERSION%%-<RELEASE> -->
<!-- OBS-ExcludeArch: i586 s390 -->

<image schemaversion="6.5" name="_PRODUCT_-coredns-image">
<image schemaversion="6.5" name="_PRODUCT_-coredns-image" xmlns:suse_label_helper="com.suse.label_helper">
<description type="system">
<author>SUSE Containers Team</author>
<contact>[email protected]</contact>
Expand All @@ -11,23 +11,34 @@
<preferences>
<type
image="docker"
derived_from="obsrepositories:/_BASEIMAGE_">
derived_from="obsrepositories:/_BASEIMAGE_SMALL_">
<containerconfig
name="_NAMESPACE_/coredns"
tag="%%SHORT_VERSION%%"
tag="latest"
additionaltags="%%LONG_VERSION%%,%%LONG_VERSION%%-%RELEASE%"
maintainer="SUSE Containers Team &lt;[email protected]&gt;">
<expose>
<port number="53/tcp"/>
<port number="53/udp"/>
</expose>
<entrypoint execute="/usr/sbin/coredns"/>
<subcommand clear="true"/>
<labels>
<suse_label_helper:add_prefix prefix="_LABEL_PREFIX_.coredns">
<label name="org.opencontainers.image.title" value="_DISTRO_ coredns container"/>
<label name="org.opencontainers.image.description" value="Image containing coredns for _DISTRO_."/>
<label name="org.opencontainers.image.version" value="%%LONG_VERSION%%-%RELEASE%"/>
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
<label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/coredns:%%LONG_VERSION%%-%RELEASE%"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
</suse_label_helper:add_prefix>
</labels>
<history author="SUSE Containers Team &lt;[email protected]&gt;">_DISTRO_ coredns container</history>
</containerconfig>
</type>
<version>4.0.1</version>
<version>5.0.0</version>
<packagemanager>zypper</packagemanager>
<rpm-check-signatures>false</rpm-check-signatures>
<rpm-force>true</rpm-force>
<rpm-excludedocs>true</rpm-excludedocs>
<locale>en_US</locale>
<keytable>us.map.gz</keytable>
Expand All @@ -36,7 +47,7 @@
<repository>
<source path="obsrepositories:/"/>
</repository>
<packages type="image">
<packages type="bootstrap">
<package name="coredns"/>
</packages>
</image>