Openshift CLI command to start S2I (source to image) build looks like this:
oc start-build buildname --from-dir=./someDirectory--wait=true
But how can we execute some shell command? os start-build
is going to create image (described in the build definition) and copy someDirectory
to it, but what if we need additional configuration of that image, not only to push compiled source code there?