|
|
@ -36,6 +36,7 @@ task createDockerFile(type: Dockerfile,dependsOn: prepareDockerBuild){ |
|
|
|
destFile=project.file("${buildDir}/docker/Dockerfile") |
|
|
|
from "${baseImgName}:${baseImgTag}" |
|
|
|
label(['Maintainer':'richard_shih@wanhai.com']) |
|
|
|
environmentVariable('JAVA_OPTS','-Xms64m -Xmx384m -XX:MetaspaceSize=64M -XX:MaxMetaspaceSize=128m -XX:MaxDirectMemorySize=512m -XX:+UseParallelGC -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true') |
|
|
|
copyFile "$war.archiveName",'${JBOSS_HOME}/standalone/deployments' |
|
|
|
} |
|
|
|
|
|
|
|