path: root/
diff options
authorPep TurrĂ³ Mauri <>2017-05-31 18:52:22 +0200
committerPep TurrĂ³ Mauri <>2017-06-02 12:31:50 +0200
commit32b7b0aba720502c528d38af74a7b6163d0ec6fa (patch)
tree54b5679a6f1307ce427224147987ab7f83d947c9 /
parentd175973070a4dce2055678f9309d2f74517d461e (diff)
Rename container image to origin-ansible / ose-ansible
As discussed in #4279 the container image is being renamed to openshift/origin-ansible (upstream) and openshift3/ose-ansible (downstream) for the "oc cluster up" use case, and more generally to make it fit the imageConfig.format configuration option. This updates references to the image name accordingly. Also updating references to playbook2image to account for recent moves of the repo/image.
Diffstat (limited to '')
1 files changed, 6 insertions, 4 deletions
diff --git a/ b/
index 7ac0187ee..d9de3f5aa 100644
--- a/
+++ b/
@@ -26,16 +26,18 @@ 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 []( 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/openshift-ansible .
+ docker build -f images/installer/Dockerfile -t openshift-ansible .
### Building on OpenShift
To build an openshift-ansible image using an **OpenShift** [build and image stream]( the straightforward command would be:
- oc new-build
+ oc new-build
However: because the `Dockerfile` for this repository is not in the top level directory, and because we can't change the build context to the `images/installer` path as it would cause the build to fail, the `oc new-app` command above will create a build configuration using the *source to image* strategy, which is the default approach of the [playbook2image]( base image. This does build an image successfully, but unfortunately the resulting image will be missing some customizations that are handled by the [Dockerfile](images/installer/Dockerfile) in this repo.
@@ -48,7 +50,7 @@ At the time of this writing there is no straightforward option to [set the docke
curl -s |
oc new-build -D - \
- \
+ \
@@ -76,5 +78,5 @@ Once the container image is built, we can import it into the OSTree
-atomic pull --storage ostree docker:openshift/openshift-ansible:latest
+atomic pull --storage ostree docker:openshift-ansible:latest