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 <[email protected]>
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 ]")
 
 

Reply via email to