Skip to content

Instantly share code, notes, and snippets.

@anthr76
Created July 31, 2021 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anthr76/38c31b2f6678040534f3e77696e99c28 to your computer and use it in GitHub Desktop.
Save anthr76/38c31b2f6678040534f3e77696e99c28 to your computer and use it in GitHub Desktop.
run OBS/OSC within a container
podman run --name obs_builder --cap-add=sys_admin --cap-add=MKNOD \
-it --mount type=bind,src=$PWD,target=/build,z \
-v ~/.config/osc/oscrc:/root/.config/osc/oscrc:ro,z \
-w /build \
registry.opensuse.org/opensuse/tumbleweed:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment