#36 Build fedora container base image with OSBS
Opened 2 years ago by cverna. Modified 2 years ago

OSBS can also be used to build the fedora base image, we should take advantage of this.

See https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org/thread/5P772GLI4ITL246FUVKNUZUZLEHNBSTD/


Started to test this in staging, taking notes here of what will be needed once we move it to production :

  • containerbuild method needs image permission in koji
    koji grant-permission image containerbuild

  • Add fedora-contaienr-image to f30 target
    koji add-pkg f30 fedora-container-image --owner cverna

The url format to use in image-build.conf for ksurl :

<mizdebsk> correct url with head would be: git+https://pagure.io/fedora-kickstarts.git?#HEAD
<mizdebsk> for branch name: git+https://pagure.io/fedora-kickstarts.git?#origin/master
<mizdebsk> for commit: git+https://pagure.io/fedora-kickstarts.git?#deadbeef

Successful test build --> https://koji.fedoraproject.org/koji/buildinfo?buildID=1212051

Need to create a container/fedora and container/fedora-minimal repo in distgit to start building the base image.

Login to comment on this ticket.

Metadata