Sign inSign up

suihkulokki/amd64-obsworker

By suihkulokki

•Updated over 9 years ago

OBS worker instance

Image
0

368

suihkulokki/amd64-obsworker repository overview

⁠obsworker

OBS worker instance running in docker container. Obsworker comes with rather complicated init script, which is hereby replaced with a script, ./start-obsworker that does the most simple case - chroot builds.

⁠Configuration

.. is done via environment variables (or file), e.g.:

obsworker.env

OBS_SERVER=obs OBS_IP=192.168.1.6 OBS_JOBS=8 OBS_PORT=12345

watch out for trailing whitespaces!

if you set OBS_TMPFS=8000, an 8G tmpfs mount will be used for builds

Note, that OBS master must be able to connect to the worker instance on given OBS_PORT, and the OBS_PORT must match what is given in -p

⁠Starting OBS worker

docker run --privileged -d -h workername --env-file obsworker.env -p 12345:12345 suihkulokki/obsworker

Tag summary

Content type

Image

Digest

Size

107 MB

Last updated

over 9 years ago

docker pull suihkulokki/amd64-obsworker