How to rebuild OSBS buildroot image
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
4da0c3b5ff
commit
721a8d5182
1 changed files with 12 additions and 0 deletions
12
rebuild_osbs_buildroot.md
Normal file
12
rebuild_osbs_buildroot.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# 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](https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/files/osbs/buildroot-Dockerfile-production.j2) for production and [Dockerfile](https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/files/osbs/buildroot-Dockerfile-staging.j2) 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.
|
Loading…
Add table
Add a link
Reference in a new issue