You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2022/12/14 03:29:36 UTC
[apisix-docker] branch master updated: fix: makefile build-dashboard phony missing (#390)
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git
The following commit(s) were added to refs/heads/master by this push:
new c084d08 fix: makefile build-dashboard phony missing (#390)
c084d08 is described below
commit c084d087693c90ebf904c5f15a8fd1de857b2575
Author: Zeping Bai <bz...@apache.org>
AuthorDate: Wed Dec 14 11:29:31 2022 +0800
fix: makefile build-dashboard phony missing (#390)
---
Makefile | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/Makefile b/Makefile
index 8857025..94f8880 100644
--- a/Makefile
+++ b/Makefile
@@ -205,6 +205,26 @@ save-debian-tar:
@$(call func_echo_success_status, "$@ -> [ Done ]")
+### build-dashboard-centos : Build apache/dashboard:tag image on centos
+.PHONY: build-dashboard-centos
+build-dashboard-centos:
+ @$(call func_echo_status, "$@ -> [ Start ]")
+ $(ENV_DOCKER) build -t $(APISIX_DASHBOARD_IMAGE_NAME):$(APISIX_DASHBOARD_VERSION) \
+ --build-arg APISIX_DASHBOARD_TAG=v$(APISIX_DASHBOARD_VERSION) \
+ -f ./dashboard/Dockerfile.centos .
+ @$(call func_echo_success_status, "$@ -> [ Done ]")
+
+
+### build-dashboard-alpine : Build apache/dashboard:tag image on alpine
+.PHONY: build-dashboard-alpine
+build-dashboard-alpine:
+ @$(call func_echo_status, "$@ -> [ Start ]")
+ $(ENV_DOCKER) build -t $(APISIX_DASHBOARD_IMAGE_NAME):$(APISIX_DASHBOARD_VERSION) \
+ --build-arg APISIX_DASHBOARD_TAG=v$(APISIX_DASHBOARD_VERSION) \
+ -f ./dashboard/Dockerfile.alpine .
+ @$(call func_echo_success_status, "$@ -> [ Done ]")
+
+
### push-multiarch-dashboard : Build and push multiarch apache/dashboard:tag image
.PHONY: push-multiarch-dashboard
push-multiarch-dashboard: