You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by tz...@apache.org on 2022/06/29 02:43:26 UTC

[apisix-docker] branch release/apisix-2.13.2 updated: chore: use host network to build images

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

tzssangglass pushed a commit to branch release/apisix-2.13.2
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git


The following commit(s) were added to refs/heads/release/apisix-2.13.2 by this push:
     new c9a48a1  chore: use host network to build images
c9a48a1 is described below

commit c9a48a12d5ddab255543ac66611e26ee18a7f29f
Author: tzssangglass <tz...@gmail.com>
AuthorDate: Wed Jun 29 10:43:07 2022 +0800

    chore: use host network to build images
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index acf15ce..bb33f62 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ endef
 .PHONY: build-on-centos
 build-on-centos:
 	@$(call func_echo_status, "$@ -> [ Start ]")
-	$(ENV_DOCKER) build -t $(ENV_APISIX_IMAGE_TAG_NAME)-centos -f ./centos/Dockerfile .
+	$(ENV_DOCKER) build --network=host -t $(ENV_APISIX_IMAGE_TAG_NAME)-centos -f ./centos/Dockerfile .
 	@$(call func_echo_success_status, "$@ -> [ Done ]")