1. pull doris dev docker image

sudo docker pull apachedoris/doris-dev:build-env-1.1

2. dowload doris-0.11.20 source local

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.-release.tar.gz
mv incubator-doris-DORIS-0.11.-release doris-0.11.-release

3.build

sudo docker  run -it  -v /home/lenmom/doris-0.11.-release:/root/doris-0.11.   --name doris_dev  apachedoris/doris-dev:build-env-1.1  //bin/bash
export PATH=$PATH:$JAVA_HOME/bin:$MAVEN_HOME/bin && cd /root/doris-0.11. && sh build.sh
05-06 15:33