Create home authored by Peter Trommler's avatar Peter Trommler
# Setting up POWER8/9 openSUSE for CI
1. Install `podman`
2. Add user to subuids and subgids as described in this [ticket](https://github.com/containers/libpod/issues/1182) or better by executing as suggested in [ticket 2542](https://github.com/containers/libpod/issues/2542):
```
sudo touch /etc/sub{u,g}id
sudo usermod --add-subuids 10000-75535 $(whoami)
sudo usermod --add-subgids 10000-75535 $(whoami)
rm /run/user/$(id -u)/libpod/pause.pid
```
if you see this error from `podman version`
```
ERRO[0000] cannot find mappings for user <user>: No subuid ranges found for user "<user>" in /etc/subuid
```
# Uploading initial openSUSE Leap image
See [container-registry-opensuse](https://github.com/gbraad/container-registry-opensuse) on github
1. Find image at [openSUSE registry](https://registry.opensuse.org/cgi-bin/cooverview)
```
podman pull docker://registry.opensuse.org/opensuse/leap:15.1
podman tag leap:15.1.1.165 gitlab.haskell.org/trommler/leap:15.1.1.165
podman push gitlab.haskell.org/trommler/leap:15.1.1.165
```