File backer-srv-image.kiwi of Package backer-srv-image

<?xml version="1.0" encoding="utf-8"?>

<!-- OBS-ExcludeArch: i586 s390 -->

<image schemaversion="6.9" name="backer-srv-image" xmlns:suse_label_helper="com.suse.label_helper">
  <description type="system">
    <author>Richard Brown</author>
    <contact>rbrown@suse.com</contact>
    <specification>openSUSE image containing a custom SSH based salt-managed backup service.</specification>
  </description>
  <preferences>
    <type
      image="docker"
      derived_from="obsrepositories:/opensuse/busybox#latest">
      <containerconfig
        name="backer-srv"
        tag="latest"
        maintainer="Richard Brown &lt;rbrown@suse.com&gt;">
	<entrypoint execute="/usr/local/bin/entrypoint.sh"/>
        <volumes>
            <volume name="/backups"/>
	    <volume name="/root/.ssh/authorized_keys"/>
            <volume name="/etc/ssh/keybridge"/>
        </volumes>
      </containerconfig>
    </type>
    <version>1.0.0</version>
    <packagemanager>zypper</packagemanager>
    <rpm-excludedocs>false</rpm-excludedocs>
  </preferences>
  <users>
    <user
            home="/home/ilmehtar" name="ilmehtar"
            password="" groups="users"
    />
  </users>
  <repository>
    <source path="obsrepositories:/"/>
  </repository>
  <packages type="bootstrap">
    <package name="openssh"/>
    <package name="rsync"/>
  </packages>
</image>