Skip to content

Commit

Permalink
Adjust wildfly image build script
Browse files Browse the repository at this point in the history
  • Loading branch information
hpehl committed Feb 6, 2025
1 parent df08977 commit fed7e7a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions wildfly/build-wildfly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,17 @@ else
TAG_VERSION=$WILDFLY_VERSION
fi

# Images for WildFly 23 and below are in Docker Hub
if [[ "$WILDFLY_MAJOR_VERSION" -lt "24" ]]; then
# Images for WildFly 23 and below are in Docker Hub
BASE=docker.io/jboss/wildfly
fi
# Use JDK suffix for for WildFly 27 and above
if [[ "$WILDFLY_MAJOR_VERSION" -gt "26" ]]; then
WILDFLY_VERSION=$WILDFLY_VERSION-jdk11
else
if [[ "$WILDFLY_MAJOR_VERSION" -gt "32" ]]; then
WILDFLY_VERSION=$WILDFLY_VERSION-jdk21
else [[ "$WILDFLY_MAJOR_VERSION" -gt "26" ]]; then
WILDFLY_VERSION=$WILDFLY_VERSION-jdk17
else
WILDFLY_VERSION=$WILDFLY_VERSION
fi
fi

msg
Expand Down

0 comments on commit fed7e7a

Please sign in to comment.