Files
doris/docker/Docker_build.md
EmmyMiao87 4907577e99 Copy the latest source code from local in dockerfile (#651)
1. Run git clone may not been executed when docker use cached layer, so I change it to copy latest code from local.
2. Before building docker image, please clone the latest source code firstly.
2019-02-22 14:02:50 +08:00

3.2 KiB

Doris Develop Environment based on docker

0. Download the latest source code

git clone https://github.com/apache/incubator-doris.git
cp incubator-doris/docker/Dockerfile .

1. Build docker image


docker build -t doris:v1.0  .

-- doris is docker image repository name and base is tag name , you can change them to what you like

2. Use docker image

docker run -it --name doris  doris:v1.0
// if you want to build your local code ,you should execute:
docker run -it --name test -v **/incubator-doris:/var/local/incubator-doris  doris:v1.0

// then build source code
cd /var/local/incubator-doris

sh build.sh   -- build project

//execute unit test
sh run-ut.sh --run  -- run unit test

3. Thirdparty list

The detail list of thirdparty we mirrored as following: