From ba67ae0e60bd7aa07129e37d5ab0b16d6923a225 Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Tue, 14 Jan 2025 16:06:14 +1100 Subject: [PATCH] add additional terminating commands Signed-off-by: Lachlan Roberts --- docker-entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 573a9282..94a30c01 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -42,8 +42,10 @@ if expr "$*" : 'java .*/start\.jar.*$' >/dev/null ; then # check if it is a terminating command for A in "$@" ; do case $A in + --add-module* |\ --add-to-start* |\ --create-files |\ + --create-start-ini |\ --create-startd |\ --download |\ --dry-run |\ @@ -54,9 +56,11 @@ if expr "$*" : 'java .*/start\.jar.*$' >/dev/null ; then --list-classpath |\ --list-config |\ --list-modules* |\ + --show-module* |\ --stop |\ --update-ini |\ --version |\ + --write-module-graph* |\ -v )\ # It is a terminating command, so exec directly JAVA="$1"