mirror of https://github.com/codevalet/codevalet
Make sure our cached ~/.m2 is in the right place
This commit is contained in:
parent
9369609c4f
commit
a31d2d2c74
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue