sudo docker pull apachedoris/doris-dev:build-env-1.1
mkdir -p /home/lenmom/wget https://codeload.github.com/baidu-doris/incubator-doris/tar.gz/DORIS-0.11.20-release tar -xzvf incubator-doris-DORIS-0.11.20-release.tar.gz mv incubator-doris-DORIS-0.11.20-release doris-0.11.20-release
sudo docker create -v /home/lenmom/doris-0.11.20-release:/root/doris-0.11.20 --name doris_dev apachedoris/doris-dev:build-env-1.1
sudo docker start doris_dev
sudo docker exec -it doris_dev /bin/bash
export PATH=$PATH:$JAVA_HOME/bin:$MAVEN_HOME/bin && cd /root/doris-0.11.20 && sh build.sh
docker build doris-0.11.20-release source code
原文:https://www.cnblogs.com/lenmom/p/11892772.html