Reputation: 8605
OpenShift3 allows to build a container from a Github repository using the concept of "S2I - Source to Image".
For example:
oc new-app codecentric/springboot-maven3-centos~https://github.com/cbelleza/spring-boot-samples.git --context-dir=spring-boot-basewebapp
Is there any way to inform what Maven goals should be executed during that building?
How can I set what JVM parameters my application needs to be started such as -DXbootclasspath:, -Dfile.encoding, etc?
Upvotes: 0
Views: 611
Reputation: 58563
It depends on how the specific S2I builder you are using is implemented. You need to find where the provider of that S2I builder has their code and documentation.
Seems you can find documentation for it at:
and their repo for it is at:
Upvotes: 3