Re: How are codes injected into builder image?

2016-10-14 Thread Jonathan Yu
Hey David, The s2i tool clones the repository and injects the source into the container. This means that git is not required inside the container. There's a label that defines where it goes, so it can be overridden if you'd like. Example from the WildFly image: https://github.com/openshift-s2i/s

Re: How are codes injected into builder image?

2016-10-14 Thread David Strejc
I will answer my own question: sources goes to /opt/s2i/destination I don't know if this is image specific - I've just not encountered this particular info in any documentation. Thank you. David Strejc https://octopussystems.cz t: +420734270131 e: david.str...@gmail.com On Fri, Oct 14, 2016 at

How are codes injected into builder image?

2016-10-14 Thread David Strejc
I am using Wildfly builder image (just for testing purposes) and I wrote my own assemble and run scripts. What am I doing wrong when I need to do git clone inside of assemble script? When openshift triggers build it downloads provided git url and then injects .s2i scripts into builder image but h