openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
132 stars 183 forks source link

Add podman vm build type #937

Closed dirkmueller closed 1 year ago

dirkmueller commented 1 year ago

Experimental backend to allow building packages with a (potentially rootless) podman as a runner.

AdamMajer commented 1 year ago

Is it required to have privileged container?

dirkmueller commented 1 year ago

Is it required to have privileged container?

no, the default is unprivileged. if you would set the build-type to "podman:privileged" you would get a privileged container but I think you need that only for "needsrootforbuild" containers

these are my settings in oscrc:

[general]
su-wrapper =
build-type = podman