2022-11-23 10:32:15 +01:00
<?xml version="1.0" encoding="utf-8"?>
<!-- SPDX-License-Identifier: Apache-2.0 -->
2022-12-21 15:24:19 +01:00
<!-- OBS-AddTag: opensuse/registry:%%registry_version%% opensuse/registry:%%registry_version%%-%RELEASE% opensuse/registry:latest -->
2022-11-23 10:32:15 +01:00
<!-- OBS-Imagerepo: obsrepositories:/ -->
<image schemaversion="6.5" name="registry-image" xmlns:suse_label_helper="com.suse.label_helper">
<description type="system">
<author>openSUSE Project</author>
<contact>https://www.suse.com/</contact>
2023-05-23 20:42:16 +02:00
<specification>openSUSE Tumbleweed OCI Container Registry (Distribution) Container Image</specification>
2022-11-23 10:32:15 +01:00
</description>
<preferences>
<type image="docker" derived_from="obsrepositories:/opensuse/bci/bci-micro#latest">
<containerconfig
name="opensuse/registry"
tag="%%registry_version%%"
maintainer="openSUSE (https://www.opensuse.org/)"
user="registry"
2022-12-21 15:24:19 +01:00
additionaltags="%%registry_version%%-%RELEASE%,latest">
2022-11-23 10:32:15 +01:00
<labels>
<suse_label_helper:add_prefix prefix="org.opensuse.application.registry">
2023-05-23 20:42:16 +02:00
<label name="org.opencontainers.image.title" value="openSUSE Tumbleweed OCI Container Registry (Distribution) Container Image"/>
<label name="org.opencontainers.image.description" value="OCI Container Registry (Distribution) based on the openSUSE Tumbleweed Base Container Image."/>
2022-11-23 10:32:15 +01:00
<label name="org.opencontainers.image.version" value="%%registry_version%%"/>
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
<label name="org.opencontainers.image.vendor" value="openSUSE Project"/>
2023-03-03 08:50:24 +01:00
<label name="org.opencontainers.image.source" value="%SOURCEURL%"/>
2022-11-23 10:32:15 +01:00
<label name="org.opencontainers.image.url" value="https://www.opensuse.org"/>
<label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/registry:%%registry_version%%-%RELEASE%"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
2023-06-01 17:35:40 +02:00
<label name="org.opensuse.release-stage" value="released"/>
<label name="org.opensuse.lifecycle-url" value="https://en.opensuse.org/Lifetime"/>
2022-11-23 10:32:15 +01:00
</suse_label_helper:add_prefix>
</labels>
<subcommand execute="serve">
<argument name="/etc/registry/config.yml"/>
</subcommand>
<entrypoint execute="/usr/bin/registry"/>
<volumes>
<volume name="/var/lib/docker-registry" />
</volumes>
<expose>
<port number="5000" />
</expose>
</containerconfig>
</type>
2023-04-26 09:41:59 +02:00
<version>2023</version>
2022-11-23 10:32:15 +01:00
<packagemanager>zypper</packagemanager>
<rpm-check-signatures>false</rpm-check-signatures>
<rpm-excludedocs>true</rpm-excludedocs>
</preferences>
<repository type="rpm-md">
<source path="obsrepositories:/"/>
</repository>
<packages type="bootstrap">
<package name="apache2-utils"/>
<package name="ca-certificates-mozilla"/>
<package name="distribution-registry"/>
<package name="perl"/>
<package name="util-linux"/>
</packages>
</image>