How to rebuild OSBS buildroot image.

OSBS build are done from a buildroot container image which is built on the OSBS nodes. The dockerfile used to build the image are in ansible Dockerfile for production and Dockerfile for staging.

To rebuild the image you can use the following playbook.

sudo -i ansible-playbook /srv/web/infra/ansible/playbooks/groups/osbs/rebuild-osbs-buildroot.yml

This will backup the image currently used and build a new image fetching the latest base image.