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:

  • Issues with proxy in Gitlab CI using Docker runner
  • Build docker image from rhel6.5 image
  • how to redirect http to https in nginx docker elastic beanstalk
  • Register to Eureka from Docker with a custom IP
  • Why does docker not run with kernels older than 3.10?
  • Can not delete a docker image because repository is missing
  • oc new-app codecentric/springboot-maven3-centos~ --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?

  • Does docker support command aliases similar to Git aliases?
  • how can I login to docker hub via Vagrant docker provisioner
  • Manage docker environment for Swarm running cluster with UPC
  • ELK Docker - Kibana saved objects
  • SSL certificate verification fails inside docker container on specific server
  • EC2 User Data runs script but does not boot up application
  • 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.