openshift-s2i / s2i-wildfly

Source-to-Image template for WildFly applications
http://wildfly.org/
Other
73 stars 145 forks source link

Ability to override standalone.xml? #149

Closed lcollet closed 6 years ago

lcollet commented 6 years ago

Is it possible to create a S2I that allow the override of the standalone.xml by our own? You did a great work with this image but i want to remove some modules i don't need. Should i copy this S2I and modify it by myself or is it possible that you deal with your script to allow the override?

Maybe there's points i misunderstood?

Regards.

bparees commented 6 years ago

if you put a standalone.xml in a dir named "cfg" within your git repo, it should be copied into the wildfly server's config dir during assembly: https://github.com/openshift-s2i/s2i-wildfly/blob/master/11.0/s2i/bin/assemble#L333-L338