This directory contains assets and tooling for building Pulp 3 container image based on Fedora 31.
For instructions how to run and use this container, see Pulp in One Container.
$ wget https://github.com/just-containers/s6-overlay/releases/download/v1.22.1.0/s6-overlay-amd64.tar.gz
$ <docker build | buildah bud> --file pulp_ci/Containerfile --tag pulp/pulp-ci:latest .
$ <docker build | buildah bud> --file pulp_fedora31/Containerfile --tag pulp/pulp-fedora31:latest .
$ <docker build | buildah bud> --file pulp_galaxy_ng/Containerfile --tag pulp/pulp-galaxy-ng:latest .
By default, containers get built using the latest version of each Pulp component. If you want to specify a version of a particular component, you can do so with args:
$ <docker build | buildah bud> --build_arg PULPCORE_VERSION="==3.5.0" --file pulp_fedora31/Containerfile
$ <docker build | buildah bud> --build_arg PULP_FILE_VERSION=">=1.0.0" --file pulp_fedora31/Containerfile
We maintain a container tag for every pulpcore y-release (e.g. 3.7, 3.8, ...). When there's a pulpcore z-release, the existing y-release branch is built and published again.
- For a y-release, first create a new release branch (e.g. 3.10) in this pulp-oci-images repo.
- Update PULPCORE_VERSION in pulp_fedora31/Containerfile on the release branch (see here as an example)
- Kick off a new build at the publish workflow
- Go to the y-release branch you're releasing for and make sure the pulp_fedora31/Containerfile looks good.
- Kick off a new build at the publish workflow