default to network=host to avoid frequent dns issues on some platform
This commit is contained in:
parent
79b2160578
commit
6ccd002aaa
|
@ -32,6 +32,7 @@ define build
|
||||||
-t $(REGISTRY)/$(NAME):$(VERSION) \
|
-t $(REGISTRY)/$(NAME):$(VERSION) \
|
||||||
--build-arg REGISTRY=$(REGISTRY) \
|
--build-arg REGISTRY=$(REGISTRY) \
|
||||||
--platform $(PLATFORM) \
|
--platform $(PLATFORM) \
|
||||||
|
--network=host \
|
||||||
--progress=plain \
|
--progress=plain \
|
||||||
$(if $(filter latest,$(VERSION)),,--build-arg VERSION=$(VERSION)) \
|
$(if $(filter latest,$(VERSION)),,--build-arg VERSION=$(VERSION)) \
|
||||||
--target $(TARGET) \
|
--target $(TARGET) \
|
||||||
|
|
Reference in New Issue