export OBS_USERNAME=M0ses
Create temporary config file
cat <<EOF > tmp.txt
<project name="home:$OBS_USERNAME:WorkShop:AppImage">
<title/>
<description/>
<person userid="$OBS_USERNAME" role="bugowner"/>
<person userid="$OBS_USERNAME" role="maintainer"/>
<repository name="AppImage">
<path project="OBS:AppImage:Templates" repository="AppImage"/>
<arch>x86_64</arch>
</repository>
</project>
EOF
Create new project based on temporary config file
osc meta prj home:$OBS_USERNAME:WorkShop:AppImage -F tmp.txt
Branch package to newly created project
osc branch OBS:AppImage:Templates AppImageTemplate home:$OBS_USERNAME:WorkShop myFirstAppImage
Create temporary config file
cat <<EOF > tmp.txt
<project name="home:$OBS_USERNAME:WorkShop:DockerWithKiwi">
<title/>
<description/>
<person userid="$OBS_USERNAME" role="bugowner"/>
<person userid="$OBS_USERNAME" role="maintainer"/>
<repository name="images">
<path project="openSUSE:Templates:Images:42.3" repository="images"/>
<arch>x86_64</arch>
</repository>
</project>
EOF
Create new project based on temporary config file
osc meta prj home:$OBS_USERNAME:WorkShop:DockerWithKiwi -F tmp.txt
Branch package to newly created project
osc branch openSUSE:Templates:Images:42.3 openSUSE-Leap-42.3-Container-kiwi home:$OBS_USERNAME:WorkShop:DockerWithKiwi myFirstKiwiContainer
Create temporary config file
cat <<EOF > tmp.txt
<project name="home:$OBS_USERNAME:WorkShop:DockerNative">
<title/>
<description/>
<person userid="$OBS_USERNAME" role="bugowner"/>
<person userid="$OBS_USERNAME" role="maintainer"/>
<repository name="containers">
<path project="openSUSE:Templates:Images:42.3" repository="containers"/>
<arch>x86_64</arch>
</repository>
</project>
EOF
Create new project based on temporary config file
osc meta prj home:$OBS_USERNAME:WorkShop:DockerNative -F tmp.txt
Branch package to newly created project
osc branch openSUSE:Templates:Images:42.3 openSUSE-Leap-42.3-Container home:$OBS_USERNAME:WorkShop:DockerNative myFirstNativeContainer
osc co <project>/<package>
cd <project>/<package>
osc r -w
I suggest that change:
https://gist.github.com/s-leroux/f19c582033c970b935a38dc63b36b0f3/revisions?diff=unified#diff-e3fd926989fece9117b9e2c863ba86dc
for consistency with the way Docker w/Kiwi and Docker native Packages are branched