Update JVM dev build Dockerfile and shell script (#6792)

Co-authored-by: Zhuo Yuzhen <yuzhuo@paypal.com>
This commit is contained in:
Aging
2022-03-23 07:39:10 +08:00
committed by GitHub
parent 4d81c741e9
commit f20ffa8db3
3 changed files with 14 additions and 14 deletions

View File

@@ -24,9 +24,9 @@ docker build -t dmlc/xgboost4j-build "${BASEDIR}" # build and tag the Dockerfile
docker run \
-it \
--rm \
--memory 8g \
--env JAVA_OPTS="-Xmx6g" \
--env MAVEN_OPTS="-Xmx2g" \
--memory 12g \
--env JAVA_OPTS="-Xmx9g" \
--env MAVEN_OPTS="-Xmx3g" \
--ulimit core=-1 \
--volume "${BASEDIR}/../..":/xgboost \
--volume "${BASEDIR}/.m2":/root/.m2 \