Self Learning: Unable to create Jboss Image

Each EAP version ships with a specific set of fixed component versions under the hood and, if memory serves right, with some additional components.

The approach to create an EAP image should be more or less identical to create a wildfly image.

You might want to take a look of a post of mine that addresses dynamic configuration while bootstrapping the container: