Gepardec / openshift-builder-maven

S2I Maven Builder for OpenShift based on the official maven image
GNU General Public License v3.0
0 stars 3 forks source link

Add doc about possible build arguments #12

Open cchet opened 4 years ago

cchet commented 4 years ago

I thought that this builder image uses a too old maven version and opened a ticket here, then I found that the maven version as well as the java version can be provided as build arguments. This should be documented

cchet commented 4 years ago

It seems that build arguments are not passed to the docker build in Openshift 3.9 at ItAndTel, but I was able to achieve it with environment variables with empty ARG JAVA_VERSION and ARG MAVEN_VERSION

ckaserer commented 4 years ago

@cchet: Can it be closed due to the fact that we replaced the base image with the official maven images?