Skip to content
Permalink
Browse files
feat: add dashboard-all-in-one tools and update readme (#289)
Co-authored-by: Alex Zhang <tokers@apache.org>
  • Loading branch information
mangoGoForward and tokers committed Mar 1, 2022
1 parent 9ba22a2 commit 357b9cd20952314884f8930aadd99556d09dd3b0
Showing 2 changed files with 24 additions and 1 deletion.
@@ -132,6 +132,14 @@ build-all-in-one:
@$(call func_echo_success_status, "$@ -> [ Done ]")


### build-dashboard-all-in-one : Build All in one Docker container for Apache APISIX-dashboard
.PHONY: build-dashboard-all-in-one
build-dashboard-all-in-one:
@$(call func_echo_status, "$@ -> [ Start ]")
$(ENV_DOCKER) build -t $(APISIX_DASHBOARD_IMAGE_NAME):whole -f ./all-in-one/apisix-dashboard/Dockerfile .
@$(call func_echo_success_status, "$@ -> [ Done ]")


### save-centos-tar : tar apache/apisix:xx-centos image
.PHONY: save-centos-tar
save-centos-tar:
@@ -48,6 +48,21 @@ make build-on-alpine-local
$ make build-on-alpine-cn
```

4. Build apisix-dashboard from release version:

```sh
# Assign the release version of Apache APISIX Dashboard to variable `APISIX_DASHBOARD_VERSION`, for example: 2.10.
# The latest release version can be found at `https://github.com/apache/apisix-dashboard/releases`
export APISIX_DASHBOARD_VERSION=2.10
# build alpine based image
make build-dashboard-alpine
# build centos based image
make build-dashboard-centos
```

### Manual deploy apisix via docker

[Manual deploy](https://github.com/apache/apisix-docker/blob/master/docs/en/latest/manual.md)
@@ -82,7 +97,7 @@ apache/apisix:whole
**The latest version of `apisix-dashboard` is 2.10 and can be used with APISIX 2.11.**

```sh
make build-dashboard
make build-dashboard-all-in-one
# launch APISIX-dashboard container
docker run -d \

0 comments on commit 357b9cd

Please sign in to comment.