How to inform Maven/JVM options for S2I build in OpenShift3

OpenShift3 allows to build a container from a Github repository using the concept of “S2I – Source to Image”.

For example:

  • New version of postgresql docker container doesn't have the new added data
  • Docker runs of “pip install” and “npm install” on same container overwriting each other
  • How to Install Hadoop slaves in docker make a master node on local computer to handle these slave nodes?
  • Ruby: Catching Sequel::DatabaseConnectionError
  • can't install weblogic on docker on OracleLinuxServer 6.7
  • Docker build unable to install pg gem in Sinatra project
  • 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?

  • Install Fabric8 on openshift docker instance
  • Does docker swarm mode (docker 1.13 & compose v3) really provides zero downtime rolling updates or deployments?
  • java.net.InetAddress java class doesn't resolve IP on Alpine Docker container
  • Provider docker not found - Vagrant
  • Viewing startup logs of docker
  • Why the image that built by myself dont run on the kubernetes,and the pod always restart?
  • One Solution collect form web for “How to inform Maven/JVM options for S2I build in OpenShift3”

    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:

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.