Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

op-guide: move buildFrom to buildPath for docker compose guide #893

Merged
merged 1 commit into from
Sep 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions op-guide/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@ category: deployment

PD,TiKV,TiDB 和 tidb-vision 支持从 GitHub 源码或本地文件构建 Docker 镜像,供开发测试使用。

- 如果希望从 GitHub 源码构建某个组件的镜像,需要将其 `image` 字段留空,然后设置其 `buildFrom``remote`
- 如果希望从本地已编译好的 binary 文件构建 PD,TiKV 或 TiDB 镜像,需要将其 `image` 字段留空,并将已编译好的 binary 拷贝到对应的 `pd/bin/pd-server``tikv/bin/tikv-server``tidb/bin/tidb-server`

- 如果希望从本地已编译好的 binary 文件构建 PD,TiKV 或 TiDB 镜像,需要将其 `image` 字段留空,然后设置其 `buildFrom``local`,并将已编译好的 binary 拷贝到对应的 `pd/bin/pd-server``tikv/bin/tikv-server``tidb/bin/tidb-server`

- 如果希望从本地构建 tidb-vision 镜像,需要将其 `image` 字段留空,然后设置其 `buildFrom``local`,并将 tidb-vision 项目拷贝到 `tidb-vision/tidb-vision`
- 如果希望从本地构建 tidb-vision 镜像,需要将其 `image` 字段留空,并将 tidb-vision 项目拷贝到 `tidb-vision/tidb-vision`

4. 生成 `docker-compose.yml` 文件

Expand Down