Skip to content

Commit 0f2cb2c

Browse files
committed
allow war files to be deployed by the base image
...not just exploded war files. In the container guide, we say both work.
1 parent 61da081 commit 0f2cb2c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/container-base/src/main/docker/scripts/init_1_generate_deploy_commands.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,6 @@ find "$DEPLOY_DIR" -mindepth 1 -maxdepth 1 -name "*.rar" -print0 \
6161
| while IFS= read -r -d '' file; do deploy "$file"; done
6262

6363
# Then every other WAR, EAR, JAR or directory
64-
find "$DEPLOY_DIR" -mindepth 1 -maxdepth 1 ! -name "*.rar" -a -name "*.war" -o -name "*.ear" -o -name "*.jar" -o -type d -print0 \
65-
| while IFS= read -r -d '' file; do deploy "$file"; done
64+
find "$DEPLOY_DIR" -mindepth 1 -maxdepth 1 \
65+
\( ! -name "*.rar" -a -name "*.war" -o -name "*.ear" -o -name "*.jar" -o -type d \) \
66+
-print0 | while IFS= read -r -d '' file; do deploy "$file"; done

0 commit comments

Comments
 (0)