File opensuse-docker_auth-image.kiwi of Package opensuse-docker_auth-image

<?xml version="1.0" encoding="utf-8"?>

<!-- OBS-ExcludeArch: i586 s390 -->

<image schemaversion="6.9" name="opensuse-docker_auth-image" xmlns:suse_label_helper="com.suse.label_helper">
  <description type="system">
    <author>Thorsten Kukuk</author>
    <contact>kukuk@suse.com</contact>
    <specification>Authentication service for container registry</specification>
  </description>
  <preferences>
    <type
      image="docker"
      derived_from="obsrepositories:/opensuse/busybox#latest">
      <containerconfig
        name="opensuse/docker_auth"
        tag="latest"
        additionaltags="%PKG_VERSION%,%PKG_VERSION%-%RELEASE%"
        maintainer="Thorsten Kukuk &lt;kukuk@suse.com&gt;">
        <entrypoint execute="/usr/sbin/auth_server"/>
        <subcommand execute="--logtostderr">
          <argument name='/etc/registry/auth_config.yml'/>
        </subcommand>
        <expose>
          <port number='5001'/>
        </expose>
        <volumes>
          <volume name="/etc/registry"/>
        </volumes>
        <labels>
          <suse_label_helper:add_prefix prefix="org.opensuse.docker_auth">
            <label name="org.opencontainers.image.title" value="openSUSE docker_auth container"/>
            <label name="org.opencontainers.image.description" value="Image containing docker_auth for authenticaton of a container registry."/>
            <label name="org.opencontainers.image.version" value="%PKG_VERSION%-%RELEASE%"/>
            <label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
            <label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/docker_auth:%PKG_VERSION%-%RELEASE%"/>
            <label name="org.openbuildservice.disturl" value="%DISTURL%"/>
          </suse_label_helper:add_prefix>
        </labels>
        <history author="Thorsten Kukuk &lt;kukuk@suse.com&gt;">openSUSE docker_auth container</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">
    <package name="docker_auth"/>
  </packages>
</image>