[bitnami/wildfly] Release 40.0.0-debian-12-r1 (#94142)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2026-06-02 13:48:07 +02:00
committed by GitHub
parent 2f4bfc8c6f
commit 476d914417
2 changed files with 10 additions and 11 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security"
ARG TARGETARCH
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2026-05-29T11:19:14Z" \
org.opencontainers.image.created="2026-06-02T11:10:45Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/wildfly/README.md" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/wildfly" \
@@ -52,7 +52,7 @@ RUN /opt/bitnami/scripts/java/postunpack.sh
RUN /opt/bitnami/scripts/wildfly/postunpack.sh
ENV APP_VERSION="40.0.0" \
BITNAMI_APP_NAME="wildfly" \
IMAGE_REVISION="0" \
IMAGE_REVISION="1" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:/opt/bitnami/wildfly/bin:$PATH" \
WILDFLY_HOME="/home/wildfly"
@@ -149,17 +149,16 @@ wildfly_conf_set() {
wildfly_add_user() {
local user="${1:?missing user}"
local password="${2:?missing password}"
local users_file="${WILDFLY_CONF_DIR}/mgmt-users.properties"
local hash
args=(
"-cw" # Automatically confirm warning in interactive mode
"-u" "$user" # Name of the user
"-p" "$password" # Password of the user
"-sc" "$WILDFLY_CONF_DIR" # Location of the server config directory
)
if am_i_root; then
debug_execute run_as_user "$WILDFLY_DAEMON_USER" "${WILDFLY_BIN_DIR}/add-user.sh" "${args[@]}"
# Compute the Properties-Realm digest: HEX(MD5("user:realm:password")).
hash="$(printf '%s:%s:%s' "$user" "ManagementRealm" "$password" | md5sum | cut -d' ' -f1)"
# Write (or replace) the user entry in mgmt-users.properties.
if grep -q "^${user}=" "$users_file"; then
replace_in_file "$users_file" "^${user}=.*" "${user}=${hash}"
else
debug_execute "${WILDFLY_BIN_DIR}/add-user.sh" "${args[@]}"
printf '%s=%s\n' "$user" "$hash" >> "$users_file"
fi
}