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) \
|
||||
--build-arg REGISTRY=$(REGISTRY) \
|
||||
--platform $(PLATFORM) \
|
||||
--network=host \
|
||||
--progress=plain \
|
||||
$(if $(filter latest,$(VERSION)),,--build-arg VERSION=$(VERSION)) \
|
||||
--target $(TARGET) \
|
||||
|
|
Reference in New Issue