Skip to content

Commit

Permalink
[Doc]Update Docker Env to env-1.2 (apache#2817)
Browse files Browse the repository at this point in the history
  • Loading branch information
WingsGo authored and imay committed Jan 20, 2020
1 parent 9dc9051 commit 7760495
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,22 +54,23 @@ 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.1
$ docker pull apachedoris/doris-dev:build-env-1.2
```

You can check it by listing images, for example:

```
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
apachedoris/doris-dev build-env-1.1 fed800438171 7 weeks ago 4.01GB
apachedoris/doris-dev build-env-1.2 69cf7fff9d10 2 weeks ago 4.12GB
```
> 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 later |
> | 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 |


Expand All @@ -79,13 +80,13 @@ apachedoris/doris-dev build-env-1.1 fed800438171 7 weeks ago
You can run the image directly:

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

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.1
$ 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
```

#### Step3: Download Doris source
Expand Down

0 comments on commit 7760495

Please sign in to comment.