1
0
opensuse-openldap-image/opensuse-openldap-image.kiwi

65 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- OBS-ExcludeArch: i586 s390 -->
<image schemaversion="7.4" name="opensuse-openldap-image">
<description type="system">
<author>Thorsten Kukuk</author>
<contact>kukuk@suse.com</contact>
<specification>OpenLDAP stand-alone LDAP daemon</specification>
</description>
<preferences>
<type
image="docker"
derived_from="obsrepositories:/opensuse/busybox#latest">
<containerconfig
name="opensuse/openldap"
tag="latest"
additionaltags="%PKG_VERSION%,%PKG_VERSION%-%RELEASE%"
maintainer="Thorsten Kukuk &lt;kukuk@suse.com&gt;">
<entrypoint execute="/entrypoint.sh"/>
<subcommand execute="/usr/sbin/slapd">
<!--argument name="start"/-->
</subcommand>
<expose>
<port number='389'/>
<port number='636'/>
</expose>
<volumes>
<volume name="/var/lib/ldap"/>
<volume name="/etc/openldap/slapd.d"/>
</volumes>
<labels>
<suse_label_helper:add_prefix xmlns:suse_label_helper="com.suse.label_helper" prefix="org.opensuse.openldap">
<label name="org.opencontainers.image.title" value="OpenLDAP stand-alone LDAPv3 daemon."/>
<label name="org.opencontainers.image.description" value="Image containing OpenLDAP daemon."/>
<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/openldap:%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;">OpenLDAP container</history>
</containerconfig>
</type>
<version>1.0.0</version>
<packagemanager>zypper</packagemanager>
<rpm-excludedocs>false</rpm-excludedocs>
</preferences>
<repository>
<source path="obsrepositories:/"/>
</repository>
<packages type="bootstrap">
<package name="openldap2"/>
<package name="openldap2-client"/>
<package name="openssl"/>
<package name="timezone"/>
<package name="mandoc"/>
<package name="ca-certificates"/>
<package name="ca-certificates-mozilla"/>
<package name="-busybox-man"/>
<archive name="common-scripts.tar.gz"/>
<archive name="entrypoint.tar.gz"/>
</packages>
</image>