File container-forgejo-kiwi.kiwi of Package container-forgejo-kiwi
<?xml version="1.0" encoding="utf-8"?>
<!-- OBS-Imagerepo: obsrepositories:/ -->
<image xmlns:suse_label_helper="com.suse.label_helper" schemaversion="6.8" name="container-forgejo-kiwi">
<!--
Copyright (c) 2024, Ilmi Solutions Oy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Description:
forgejo - Git with a cup of tea container openSUSE %OS_VERSION_ID% (https://forgejo.io/en-us/)
-->
<description type="system">
<author>Tuukka Pasanen</author>
<contact>tuukka.pasanen@ilmi.fi</contact>
<specification>Forgejo - Beyond coding. We forge.</specification>
</description>
<preferences>
<version>%PKG_VERSION%-%RELEASE%</version>
<packagemanager>zypper</packagemanager>
<rpm-check-signatures>false</rpm-check-signatures>
<rpm-excludedocs>true</rpm-excludedocs>
<type image="docker">
<containerconfig user="forgejo" name="forgejo" tag="%PKG_VERSION%-%RELEASE%" maintainer="Tuukka Pasanen <tuukka.pasanen@ilmi.fi>" additionaltags="%OS_VERSION_ID%,%PKG_VERSION%,%PKG_VERSION%-%RELEASE%,latest">
<labels>
<suse_label_helper:add_prefix prefix="fi.ilmi.buildbot">
<label name="org.opencontainers.image.title" value="openSUSE Leap %OS_VERSION_ID% forgejo"/>
<label name="org.opencontainers.image.description" value="Forgejo - Beyond coding. We forge. Leap %OS_VERSION_ID% (https://forgejo.org)."/>
<label name="org.opencontainers.image.version" value="%PKG_VERSION%.%RELEASE%"/>
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
<label name="org.opencontainers.image.vendor" value="Ilmi Solutions Oy"/>
<label name="org.opencontainers.image.url" value="https://www.ilmi.fi/"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
</suse_label_helper:add_prefix>
</labels>
<subcommand execute="/usr/bin/docker-entrypoint.sh">
</subcommand>
<history author="Tuukka Pasanen <tuukka.pasanen@ilmi.fi>">Forgejo - Beyond coding. We forge.</history>
<environment>
<env name="LANG" value="fi_FI.UTF-8"/>
<env name="LC_ALL" value="fi_FI.UTF-8"/>
<env name="TZ" value="Europe/Helsinki"/>
</environment>
</containerconfig>
</type>
</preferences>
<repository type="rpm-md">
<source path="obsrepositories:/"/>
</repository>
<packages type="bootstrap">
<package name="container-locale-archive-fi"/>
<package name="filesystem"/>
<package name="openSUSE-release-ftp"/>
<package name="ca-certificates"/>
<package name="ca-certificates-cacert"/>
<package name="ca-certificates-mozilla"/>
<package name="openSUSE-build-key"/>
</packages>
<packages type="image">
<archive name="root.tar.xz"/>
<package name="go-envsubst"/>
<!-- Have always worker and get version from this -->
<package name="forgejo"/>
<package name="forgejo-environment-to-ini"/>
<package name="forgejo-runner"/>
<!-- These are needed to run config.sh at the end -->
<package name="sed"/>
<package name="findutils"/>
<package name="less"/>
<package name="system-user-nobody"/>
</packages>
</image>