Skip to content

Commit 04fd177

Browse files
committed
build fix ...
1 parent 210b1df commit 04fd177

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ update:
7878
define build-version
7979
build-$1:
8080
ifeq ($(do_default),true)
81-
$(DOCKER) build --pull --platform=$(PLATFORM) -t $(REPO_NAME)/$(IMAGE_NAME):$(shell echo $1) $1
81+
$(DOCKER) build --pull --platform=$(PLATFORM) --network=host -t $(REPO_NAME)/$(IMAGE_NAME):$(shell echo $1) $1
8282
endif
8383
ifeq ($(do_alpine),true)
8484
ifneq ("$(wildcard $1/alpine)","")
85-
$(DOCKER) build --pull --platform=$(PLATFORM) -t $(REPO_NAME)/$(IMAGE_NAME):$(shell echo $1)-alpine $1/alpine
85+
$(DOCKER) build --pull --platform=$(PLATFORM) --network=host -t $(REPO_NAME)/$(IMAGE_NAME):$(shell echo $1)-alpine $1/alpine
8686
endif
8787
endif
8888
endef

0 commit comments

Comments
 (0)