docker容器内编译非AVX2指令

docker命令
docker run -it
-v /opt/momo/data/m2:/root/.m2
-v /opt/momo/soft/starrocks:/root/starrocks
–name starrocks
-d starrocks/dev-env:branch-2.0

docker exec -it starrocks /bin/bash

wget https://github.com/StarRocks/starrocks/archive/refs/tags/2.0.0-GA.tar.gz

容器内报错了

Build Frontend Modules: fe-common,spark-dpp,fe-core
[ERROR] Could not create local repository at /root/.m2/repository -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException

执行
mkdir /root/.m2
然后重试一下