We use tito to make building and tracking revisions easy.
For more information on tito, please see the Tito home page.
cd openshift-ansible
tito build --test --rpm
tito tag
tito build --rpm
NOTE: the examples below use "openshift-ansible" as the name of the image to build for simplicity and illustration purposes, and also to prevent potential confusion between custom built images and official releases. See README_CONTAINER_IMAGE.md for details about the released container images for openshift-ansible.
To build a container image of openshift-ansible
using standalone Docker:
cd openshift-ansible
docker build -f images/installer/Dockerfile -t openshift-ansible .