fabric8io-images / s2i

OpenShift S2I images for Java and Karaf applications
Apache License 2.0
70 stars 84 forks source link

Execute mvn clean to reduce image size #12

Open jcordes73 opened 8 years ago

jcordes73 commented 8 years ago

After https://github.com/fabric8io-images/s2i/blob/master/karaf/s2i/assemble#L127 a mvn clean should also be executed to remove build artifacts. This should result in an even smaller image size.

jcordes73 commented 8 years ago

A possible option would be to add a clean add the end

vorburger commented 6 years ago

@jcordes73 would you agree that if we did #76 then this could be closed?