Skip to content

Commit

Permalink
add additional terminating commands
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <[email protected]>
  • Loading branch information
lachlan-roberts committed Jan 14, 2025
1 parent 3ef9163 commit ba67ae0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 |\
Expand All @@ -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"
Expand Down

0 comments on commit ba67ae0

Please sign in to comment.