-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: refactor to use Galleon #226
Comments
@jellisgwn Thanks for the report, I think that'd be a great enhancement to our Docker images. The good news is that the Docker image contains a WildFly server that is already "Galleon-ready". As an example, I've created a custom image on top of it based on this
I split the RUN instructions in 2 as the first one to install Galleon really belongs in the When it'll be done, your Dockerfile could be as simple as:
Please tell me if this solution (and the proposed workaround) would work for you and I can open a PR to add Galleon to the Thanks! |
@jmesnil thanks! i'll try this and get back to you. my previous attempts to apply galleon layers to the downloaded wildfly bundle failed, but i'll need to retry that experiment now to see why it was failing. my recollection is that the error message was quite clear that it wasn't possible. lets see what i missed. |
As an aside, if you want the full power of provisioning WildFly with Galleon, an alternative is to use our You could achieve the same results as above with the following config.
|
@jmesnil your initial answer looks to be working, but leaves me with an image that is twice the size. is that unavoidable? |
You're right, the galleon provision of the SAML adapter is touching the WildFly installation. That means that the image has 2 layers with WildFly bits (hence twice the size). |
tried a similar approach using will look at the builder + runtime approach next. |
back to this and determined that the initial approach fits our immediate requirements. having galleon available in the base image would be good simplification. |
Wildfly now has features such as the Keycloak SAML Adapter which are only available as Galleon layers (see https://docs.wildfly.org/32/WildFly_Elytron_Security.html#Keycloak_SAML_Integration). As it is not possible to install a Galleon layer on a Wildfly that was not provisioned using Galleon the current docker images are not a useful starting point.
If these Dockerfiles moved to something like:
but probably provisioning directly into
/opt/jboss/wildfly
it would be possible to extend them and add layers with:The text was updated successfully, but these errors were encountered: