You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
279 B

#!/bin/sh
warFrom="zkweb100.war"
warTo="zkweb.war"
if [ "$1" != "" ]
then
warFrom=$1
fi
if [ "$2" != "" ]
then
warTo=$2
fi
echo "$warFrom => $warTo"
docker build -t shihxuancheng/wildfly-cluster --build-arg WAR_FILE_FROM=$warFrom --build-arg WAR_FILE_DEPLOY=$warTo .