On 9 Sep 2025, at 22:08, Brian Stansberry <bstansbe@redhat.com> wrote:
This Message Is From an External Sender
This message came from outside your organization.
Good idea, Jeff.
I'm slowly catching up on email after being out most of 3 weeks!
I see that your PR also adds an 'install-wildfly' script, presumably for analogous use via curl.
Thanks, I updated the PR[1] title and description to reflect that I want to have installation scripts for both WildFly & Glow.
We're generally trying to push people away from focusing on the zips/tars and toward using Galleon-tools. But personally I think this is ok, and in the future there's nothing to stop
us changing the script to have it instead find/install a tool and provision locally.
I agree. While we are pushing to use provisionings tool to install WildFly, the reality is that a lot of users are still depending on the zips so let’s make their lives easier.
One of the reason I want to add these scripts is to make it simpler to switch from using “WildFLy as a zip” to “provisioned WildFly”.
Let’s use the example of a simple CRUD application that is put into a container.
With WildFly as a zip, we do
1. Install WildFly from the zip (this is done in our base wildfly image)
2. ADD the application deployment
3. ADD the JBoss Module for the JDBC drivers
4. ADD (or run CLI scripts) to modify the standalone.xml
With a “provisioned WildFly server”, the order of sequence is flipped and much simpler
1. ADD the application deployment
2. Install Glow
3. Scan the deployment with GLOW (and enable the datasource layers that will provision the JDBC drivers and the standalone.xml modifications)
The Containerfile to achieve this is quite simple[2].
The key difference is that the provisioned WildFly server only contains what is needed to run the application (smaller image size, resource consumption, and security attack surface).
As an example, using the todo-backend quickstart, I go from a 814MiB image from “WildFly as a zip” to a 512 MiB image with the provisioned server resulting in a 37% decrease in image size.
If we want to help the users go in that direction, the steps to install Glow needs to be simple and this installation script achieves this.
Jeff