forked from pool/distribution-image
Dan Čermák
b17777398b
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/distribution-image?expand=0&rev=115
80 lines
3.7 KiB
XML
80 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
<!--
|
|
Copyright (c) 2024 SUSE LLC
|
|
|
|
All modifications and additions to the file contributed by third parties
|
|
remain the property of their copyright owners, unless otherwise agreed
|
|
upon.
|
|
|
|
The content of THIS FILE IS AUTOGENERATED and should not be manually modified.
|
|
It is maintained by the BCI team and generated by
|
|
https://github.com/SUSE/BCI-dockerfile-generator
|
|
|
|
Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
You can contact the BCI team via https://github.com/SUSE/bci/discussions
|
|
-->
|
|
<!-- OBS-AddTag: opensuse/registry:%%registry_version%% opensuse/registry:%%registry_version%%-%RELEASE% opensuse/registry:latest -->
|
|
<!-- OBS-Imagerepo: obsrepositories:/ -->
|
|
|
|
<image schemaversion="7.4" name="registry-image" xmlns:suse_label_helper="com.suse.label_helper">
|
|
<description type="system">
|
|
<author>openSUSE Project</author>
|
|
<contact>https://www.suse.com/</contact>
|
|
<specification>openSUSE Tumbleweed OCI Container Registry (Distribution) Container Image</specification>
|
|
</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"
|
|
additionaltags="%%registry_version%%-%RELEASE%,latest">
|
|
<labels>
|
|
<suse_label_helper:add_prefix prefix="org.opensuse.application.registry">
|
|
<label name="org.opencontainers.image.title" value="openSUSE Tumbleweed OCI Container Registry (Distribution)"/>
|
|
<label name="org.opencontainers.image.description" value="OCI Container Registry (Distribution) container based on the openSUSE Tumbleweed Base Container Image."/>
|
|
<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"/>
|
|
<label name="org.opencontainers.image.source" value="%SOURCEURL%"/>
|
|
<label name="org.opencontainers.image.url" value="https://www.opensuse.org"/>
|
|
<label name="io.artifacthub.package.readme-url" value="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/distribution-image/README.md"/>
|
|
<label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/registry:%%registry_version%%-%RELEASE%"/>
|
|
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
|
|
|
|
<label name="org.opensuse.release-stage" value="released"/>
|
|
<label name="org.opensuse.lifecycle-url" value="https://en.opensuse.org/Lifetime"/>
|
|
</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>
|
|
<version>2024</version>
|
|
<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> |