Skip to content

Suggestion: refactor to use Galleon #226

@ghost

Description

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:

# Add the WildFly distribution to /opt, and make wildfly the owner of the extracted tar content
# Make sure the distribution is available from a well-known place
RUN cd $HOME \
    && curl -L -O https://github.com/wildfly/galleon/releases/download/$GALLEON_VERSION/galleon-$GALLEON_VERSION.zip \
    && unzip galleon-$GALLEON_VERSION.zip
    && ./galleon-$GALLEON_VERSION/bin/galleon.sh install wildfly-ee:current#$WILDFLY_VERSION --dir=wildfly-$WILDFLY_VERSION \

but probably provisioning directly into /opt/jboss/wildfly it would be possible to extend them and add layers with:

RUN  ./galleon-$GALLEON_VERSION/bin/galleon.sh install org.keycloak:keycloak-saml-adapter-galleon-pack:$KEYCLOAK_VERSION --layers=keycloak-client-saml --dir=wildfly-$WILDFLY_VERSION

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions