File nextcloud-container-kiwi.kiwi of Package nextcloud-container-kiwi

<?xml version="1.0" encoding="utf-8"?>
<!-- OBS-Imagerepo: obsrepositories:/ -->
<image xmlns:suse_label_helper="com.suse.label_helper" schemaversion="6.8" name="nextcloud-container-kiwi">
  <!--
  Copyright (c) 2025, 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:
  Kiwi image config for Docker Nextlcoud openSUSE %OS_VERSION_ID%
  -->
  <description type="system">
    <author>Tuukka Pasanen</author>
    <contact>tuukka.pasanen@ilmi.fi</contact>
    <specification>openSUSE NGINX PHP Nextcloud image</specification>
  </description>
  <preferences>
    <version>%PKG_NEXTCLOUD_VERSION%-%RELEASE%</version>
    <packagemanager>zypper</packagemanager>
    <rpm-check-signatures>false</rpm-check-signatures>
    <rpm-excludedocs>true</rpm-excludedocs>
    <!-- <locale>fi_FI</locale>
    <keytable>fi.map.gz</keytable> -->
    <type image="docker">
      <containerconfig name="nextcloud" tag="%PKG_NEXTCLOUD_VERSION%-%RELEASE%" maintainer="Tuukka Pasanen &lt;tuukka.pasanen@ilmi.fi&gt;" user="nginx" additionaltags="%OS_VERSION_ID%,%PKG_NEXTCLOUD_VERSION%,%PKG_NEXTCLOUD_VERSION%-%RELEASE%">
        <labels>
          <suse_label_helper:add_prefix prefix="fi.ilmi.buildbot">
            <label name="org.opencontainers.image.title" value="openSUSE Leap %OS_VERSION_ID% Nextcloud %PKG_NEXTCLOUD_VERSION% container"/>
            <label name="org.opencontainers.image.description" value="Nextcloud container"/>
            <label name="org.opencontainers.image.version" value="%PKG_NEXTCLOUD_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>
        <history author="Tuukka Pasanen &lt;tuukka.pasanen@ilmi.fi&gt;">Nextcloud</history>
        <subcommand execute="/usr/bin/basicssl-nginx-container-launch.sh">
          <argument name="-d"/>
        </subcommand>
        <environment>
          <env name="LANG" value="fi_FI.UTF-8"/>
          <env name="LC_ALL" value="fi_FI.UTF-8"/>
        </environment>
      </containerconfig>
    </type>
  </preferences>
  <repository type="rpm-md">
    <source path="obsrepositories:/"/>
  </repository>
  <packages type="image">
    <package name="ca-certificates"/>
    <package name="ca-certificates-cacert"/>
    <package name="ca-certificates-mozilla"/>
    <package name="openSUSE-build-key"/>
  </packages>
  <packages type="bootstrap">
    <package name="filesystem"/>
    <package name="glibc-locale"/>
    <package name="openSUSE-release-ftp"/>
  </packages>
  <packages type="image">
    <archive name="root-php8.tar.xz"/>
    <package name="findutils"/>
    <package name="glibc-i18ndata"/>
    <package name="kubic-locale-archive"/>
    <package name="memcached"/>
    <package name="nextcloud"/>
    <package name="nginx"/>
    <package name="basicssl-nginx-config"/>
    <package name="sed"/>
    <package name="php8-APCu"/>
    <package name="php8-bcmath"/>
    <package name="php8-exif"/>
    <package name="php8-gmp"/> 
    <package name="php8-imagick"/>
    <package name="php8-pcntl"/>
    <package name="php8-pear"/>
    <package name="php8-fpm"/>
    <package name="php8-sodium"/>
    <package name="php8-sysvsem"/>
    <package name="php8-smbclient"/>
    <package name="ImageMagick"/>
    <package name="openssl-3"/>
    <package name="system-user-nobody"/>
  </packages>
</image>
openSUSE Build Service is sponsored by