
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 728 Views
Customizing S2I Builds
Hi
Normaly you customize the s2i scripts of an existing builder image but you really use the image stream of these builder image not the image builder itself. This is to say, if you have the builder image rhscl/httpd-24-rhel7 you use the httpd:latest image stream to create the app. But my question is if you can create the app (oc new-app ....) with the builder image;
.- oc new-app --name myapp rhscl/httpd-24-rhel7~https://github.com/myrepository/myurl/
Other question: if the builder image is in a external registry and I have to import it wich name do yo give to it? httpd?
Thanks in advance?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 707 Views
When using the complete FQDN then the manifests will all be created
oc new-app --name myapp registry.redhat.io/rhscl/httpd-24-rhel7~https://github.com/myrepository/myurl/
Have you tried the above and seen what happens in your project?
I see that an IS,BC,DC are all created with references to the IS inside the project.
And if you use
oc new-app --name myapp2 httpd~https://github.com/myrepository/myurl/
You will get an IS referenced by 'httpd' from namespace openshift.
I'm not sure if I really understand the first question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 707 Views
Other question: if the builder image is in a external registry and I have to import it wich name do you give to it? httpd?
I would suggest to use 'httpd-24-rhel7' which gives a hint for human readers what the origin was.
oc describe is httpd-24-rhel7
Why not using