diff options
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 18 |
1 files changed, 4 insertions, 14 deletions
@@ -26,22 +26,12 @@ tito build --rpm ## Build an openshift-ansible container image +**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](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 -t openshift/openshift-ansible . - -Alternatively this can be built using on **OpenShift** using a [build and image stream](https://docs.openshift.org/latest/architecture/core_concepts/builds_and_image_streams.html) with this command: - - oc new-build docker.io/aweiteka/playbook2image~https://github.com/openshift/openshift-ansible - -The progress of the build can be monitored with: - - oc logs -f bc/openshift-ansible - -Once built, the image will be visible in the Image Stream created by the same command: - - oc describe imagestream openshift-ansible + docker build -f images/installer/Dockerfile -t openshift-ansible . ## Build the Atomic System Container @@ -59,5 +49,5 @@ Once the container image is built, we can import it into the OSTree storage: ``` -atomic pull --storage ostree docker:openshift/openshift-ansible:latest +atomic pull --storage ostree docker:openshift-ansible:latest ``` |