This Source-to-Image Builder based on RHEL 7, let's you create projects targetting Java OpenJDK 8 and built with:
NOTE: If a project has a pom.xml
and a build.gradle
, maven will take precedence
This s2i builder image can be used with SpringBoot
, Vert.X
, Wildfly Swarm
, DropWizard
and many other microservices frameworks.
- APP_SUFFIX: Jar file suffix to use to locate the generated artifact to use
(e.g. xxxxx${APP_SUFFIX}.jar)
- BUILDER_ARGS: Allows you to specify options to pass to
maven
orgradle
- APP_OPTIONS: Options to pass to
*java -jar app.jar ${APP_OPTIONS}*
If you do not specify any BUILDER_ARGS
, by default the s2i image will use the following:
-Popenshift -DskipTests -Dcom.redhat.xpaas.repo.redhatga package
build -x test
$ make test