From 007dfe18154b7cd3c905a4f7f18877e7e09eaa0b Mon Sep 17 00:00:00 2001 From: aanirudd Date: Wed, 26 Aug 2026 17:12:57 +0530 Subject: [PATCH] Add WildFly bin directory to PATH put the body and the sign-off line: Add ${JBOSS_HOME}/bin to the PATH so the WildFly scripts (jboss-cli.sh, standalone.sh, add-user.sh, ...) can be run directly without specifying their full path. Closes #48 Signed-off-by: Aniruddha Kulkarni --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index f021780..b781678 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,10 @@ ARG variant=wildfly ENV WILDFLY_DIST=${variant}-${WILDFLY_VERSION} ENV JBOSS_HOME=/opt/jboss/wildfly +# Add the WildFly scripts (jboss-cli.sh, standalone.sh, add-user.sh, ...) to the PATH +# so they can be invoked directly without their full path. +ENV PATH=${JBOSS_HOME}/bin:${PATH} + USER root # Add the WildFly distribution to /opt, and make wildfly the owner of the extracted tar content