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/s2i-wildfly/blob/master/10.1/Dockerfile#L17 Documentation that explains the labels and what they do: https://docs.openshift.com/container-platform/3.3/creating_images/metadata.html Specifically for S2I builders, there are a few other labels: https://docs.openshift.com/container-platform/3.3/creating_images/s2i.html Cheers, Jonathan On Fri, Oct 14, 2016 at 4:30 AM, David Strejc <david.str...@gmail.com> wrote: > 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 1:12 PM, David Strejc <david.str...@gmail.com> > wrote: > > 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 how and where are codes injected into builder image? > > > > What am I missing? > > > > Thanks for any suggestion - links, docs etc. I am trying > > to get into build process. > > > > David Strejc > > https://octopussystems.cz > > t: +420734270131 > > e: david.str...@gmail.com > > _______________________________________________ > users mailing list > firstname.lastname@example.org > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > -- Jonathan Yu, P.Eng. / Software Engineer, OpenShift by Red Hat / Twitter (@jawnsy) is the quickest way to my heart <https://twitter.com/jawnsy> *“A master in the art of living draws no sharp distinction between his work and his play; his labor and his leisure; his mind and his body; his education and his recreation. He hardly knows which is which. He simply pursues his vision of excellence through whatever he is doing, and leaves others to determine whether he is working or playing. To himself, he always appears to be doing both.”* — L. P. Jacks, Education through Recreation (1932), p. 1
_______________________________________________ users mailing list email@example.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users