首页 > 其他 > 详细

docker build doris-0.11.20-release source code

时间:2019-11-19 22:52:43      阅读:213      评论:0      收藏:0      [点我收藏+]

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

 

3. create docker container

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 

 

4.build

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!