Verify Apache Release

    1. Checksums and PGP signatures are valid.
    2. DISCLAIMER is included.
    3. Source code artifacts have correct names matching the current release.
    4. LICENSE and NOTICE files are correct for the repository.
    5. All files have license headers if necessary.
    6. No compiled archives bundled in source archive.
    7. Building is OK.

    Download all artifacts, take 0.9.0-incubating as an example:

    GnuPG is recommended, which can install by yum install gnupg or apt-get install gnupg.

    1. sha512sum --check apache-doris-0.9.0-incubating-src.tar.gz.sha512

    Apache RAT is recommended to verify license headder, which can dowload as following command.

    1. wget http://mirrors.tuna.tsinghua.edu.cn/apache//creadur/apache-rat-0.13/apache-rat-0.13-bin.tar.gz

    Firstly, you must be install and start docker service.

    And then you could build Doris as following steps:

    Step1: Pull the docker image with Doris building environment

    1. $ docker pull apachedoris/doris-dev:build-env

    You can check it by listing images, for example:

    1. $ docker images
    2. REPOSITORY TAG IMAGE ID CREATED SIZE

    Step2: Run the Docker image

    Step3: Download Doris source

    Now you should in docker environment, and you can download Doris source by release package or by git clone in image. (If you have downloaded source and it is not in image, you can map its path to image in Step2.)

    1. $ wget https://dist.apache.org/repos/dist/dev/incubator/doris/xxx.tar.gz

    Step4: Build Doris

    Now you can enter Doris source path and build Doris.

    1. $ sh build.sh

    After successfully building, it will install binary files in the directory output/.