You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ha...@apache.org on 2019/05/15 09:29:29 UTC

[skywalking] 04/04: Update document

This is an automated email from the ASF dual-hosted git repository.

hanahmily pushed a commit to branch docker/build
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 61038322809840abca654e28ba6073f38ed22082
Author: Gao Hongtao <ha...@gmail.com>
AuthorDate: Wed May 15 17:28:41 2019 +0800

    Update document
---
 docker/README.md               | 12 ------------
 docs/en/guides/How-to-build.md | 29 +++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 12 deletions(-)

diff --git a/docker/README.md b/docker/README.md
deleted file mode 100644
index 15d4a2c..0000000
--- a/docker/README.md
+++ /dev/null
@@ -1,12 +0,0 @@
-
-# Build all images
-
-```shell
-make build
-```
-
-# Run skywalking by docker-compose
-
-```shell
-docker-compose up
-```
\ No newline at end of file
diff --git a/docs/en/guides/How-to-build.md b/docs/en/guides/How-to-build.md
index 8739de1..f403b05 100644
--- a/docs/en/guides/How-to-build.md
+++ b/docs/en/guides/How-to-build.md
@@ -28,12 +28,41 @@ SkyWalking is a complex maven project, including many modules, which could cause
 If you just want to recompile part of the project, you have following options
 - Compile agent and package
 >  ./mvnw package -Pagent,dist
+
+or
+
+> make build.agent
+
 - Compile backend and package
 >  ./mvnw package -Pbackend,dist
+
+or
+
+> make build.backend
+
 - Compile UI and package
 >  ./mvnw package -Pui,dist
 
+or
+
+> make build.ui
+
+
+### Build docker images
+We can build docker images of `backend` and `ui` with `Makefile` located in root folder.
+
+- Build all docker images
+> make docker.all
+
+- Build oap server docker image
+> make docker.oap
+
+- Build ui docker image
+> make docker.ui
 
+`HUB` and `TAG` variables ares used to setup `REPOSITORY` and `TAG` of a docker image. To get
+a oap image with name `bar/oap:foo`, run the following command
+> HUB=bar TAG=foo make docker.oap
 
 ## Setup your IntelliJ IDEA
 1. Import the project as a maven project