Skip to content

Commit

Permalink
update README.md about the version of docker image (apache#5653)
Browse files Browse the repository at this point in the history
Co-authored-by: weizuo <weizuo@xiaomi.com>
  • Loading branch information
weizuo93 and weizuo authored Apr 20, 2021
1 parent bf4159c commit d74c2b7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,24 @@ And then you could build Doris as following steps:
#### Step1: Pull the docker image with Doris building environment

```
$ docker pull apachedoris/doris-dev:build-env-1.2
$ docker pull apachedoris/doris-dev:build-env-1.3
```

You can check it by listing images, for example:

```
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
apachedoris/doris-dev build-env-1.2 69cf7fff9d10 2 weeks ago 4.12GB
apachedoris/doris-dev build-env-1.3 c9665fbee395 5 days ago 3.55GB
```
> NOTE: You may have to use different images to compile from source.
>
> | image version | commit id | release version |
> |---|---|---|
> | apachedoris/doris-dev:build-env | before [ff0dd0d](https://github.com/apache/incubator-doris/commit/ff0dd0d2daa588f18b6db56f947e813a56d8ec81) | 0.8.x, 0.9.x |
> | apachedoris/doris-dev:build-env-1.1 | [ff0dd0d](https://github.com/apache/incubator-doris/commit/ff0dd0d2daa588f18b6db56f947e813a56d8ec81) or later | 0.10.x or 0.11.x |
> | apachedoris/doris-dev:build-env-1.2 | [1648226](https://github.com/apache/incubator-doris/commit/1648226927c5b4e33f33ce2e12bf0e06369b7f6e) or later | 0.12.x or later |
> | apachedoris/doris-dev:build-env-1.2 | [1648226](https://github.com/apache/incubator-doris/commit/1648226927c5b4e33f33ce2e12bf0e06369b7f6e) or later | 0.12.x or 0.13 |
> | apachedoris/doris-dev:build-env-1.3 | [ad67dd3](https://github.com/apache/incubator-doris/commit/ad67dd34a04c1ca960cff38e5b335b30fc7d559f) or later | 0.14.x or later |


Expand All @@ -80,13 +81,13 @@ apachedoris/doris-dev build-env-1.2 69cf7fff9d10 2 weeks ago
You can run the image directly:

```
$ docker run -it apachedoris/doris-dev:build-env-1.2
$ docker run -it apachedoris/doris-dev:build-env-1.3
```

Or if you want to compile the source located in your local host, you can map the local directory to the image by running:

```
$ docker run -it -v /your/local/path/incubator-doris-DORIS-x.x.x-release/:/root/incubator-doris-DORIS-x.x.x-release/ apachedoris/doris-dev:build-env-1.2
$ docker run -it -v /your/local/path/incubator-doris-DORIS-x.x.x-release/:/root/incubator-doris-DORIS-x.x.x-release/ apachedoris/doris-dev:build-env-1.3
```

#### Step3: Download Doris source
Expand Down

0 comments on commit d74c2b7

Please sign in to comment.