You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2018/11/12 10:58:52 UTC

[GitHub] kangpinghuang commented on a change in pull request #301: feature add dockerfile

kangpinghuang commented on a change in pull request #301: feature add dockerfile
URL: https://github.com/apache/incubator-doris/pull/301#discussion_r232614207
 
 

 ##########
 File path: Docker_build.md
 ##########
 @@ -0,0 +1,31 @@
+## Doris Develop Environment based on docker
+1、Clone Code: git clone https://github.com/apache/incubator-doris.git
+2、Create `/var/local/docker_build`,cp `**/incubator-doris/thirdparty` and `**/incubator-doris/Dockerfile ` to `/var/local/docker_build`
+
+3、Download thirdpary [palo-thirdparty-20181102.tar.gz](http://doris-opensource.bj.bcebos.com/doris-thirdparty-20181102.tar.gz?authorization=bce-auth-v1/069fc2786e464e63a5f1183824ddb522/2018-11-02T09:27:57Z/-1/host/b30621ca2be77596cec9477f6cfb3608b681206d73084338d1b2f1204a3e3848)
+
+4、tar `palo-thirdparty-{date}.tar.gz`,cp `palo-thirdparty-{date}/*` to `/var/local/docker_build/thirdparty/src`, please create `src` if `src` not exist
+
+5、Build docker image
+```aidl
+cd /var/local/docker_build 
+
+docker build -t palo:v1.0  .
+
+-- palo is docker image repository name and base is tag name , you can change them to what you like
 
 Review comment:
   you should better change palo to doris

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org