Make sure our cached ~/.m2 is in the right place

This commit is contained in:
R. Tyler Croy 2017-07-19 15:59:49 -07:00
parent 9369609c4f
commit a31d2d2c74
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ pushd $REPOS_DIR
if [ -f pom.xml ]; then
echo ">> Building $d"
git pull --rebase
docker run --rm -ti -v $HOME/.m2:/root/.m2 \
docker run --rm -ti -v $HOME/.m2:/data/.m2 \
-e HOME=/data \
-u $(id -u):$(id -g) \
-v $PWD:/data -w /data ${BUILDER_CONTAINER} mvn install -DskipTests