diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-04-26 10:17:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 10:17:01 -0500 |
commit | 4a553433d13ebd13499b39a94f5d79968e1d8934 (patch) | |
tree | 1720db3a3ad3a8832e0f0b64a1c0e22f687f6fd3 /BUILD.md | |
parent | ff78e5c0f439132a5872305563df04979ddf65b0 (diff) | |
parent | fcc1ef69b5b007374ab9bfe3aa10a0f6e90252dc (diff) | |
download | openshift-4a553433d13ebd13499b39a94f5d79968e1d8934.tar.gz openshift-4a553433d13ebd13499b39a94f5d79968e1d8934.tar.bz2 openshift-4a553433d13ebd13499b39a94f5d79968e1d8934.tar.xz openshift-4a553433d13ebd13499b39a94f5d79968e1d8934.zip |
Merge pull request #3961 from codificat/qe-container-doc
Merged by openshift-bot
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 26 |
1 files changed, 22 insertions, 4 deletions
@@ -1,12 +1,11 @@ -# openshift-ansible RPM Build instructions +# openshift-ansible build instructions + +## Build openshift-ansible RPMs We use tito to make building and tracking revisions easy. For more information on tito, please see the [Tito home page](https://github.com/dgoodwin/tito "Tito home page"). - -## Build openshift-ansible - - Change into openshift-ansible ``` cd openshift-ansible @@ -24,3 +23,22 @@ tito tag ``` tito build --rpm ``` + +## Build an openshift-ansible container image + +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 |