fix making building image issues
Use "host" network mode instead of default "bridge" mode to access external network. Change-Id: I5735489c480c074a64cd72406592b758040e3be0 Signed-off-by: Yi Wang <yi.c.wang@intel.com>
This commit is contained in:
parent
da6bee6d41
commit
e80c20cdfe
2
Makefile
2
Makefile
@ -24,6 +24,7 @@ include .makeenv
|
||||
base-build:
|
||||
docker build \
|
||||
--ulimit core=0 \
|
||||
--network host \
|
||||
-t $(BASE_CONTAINER_TAG) \
|
||||
-f $(BASE_DOCKERFILE) \
|
||||
.
|
||||
@ -38,6 +39,7 @@ build:
|
||||
--build-arg MYUID=$(UID) \
|
||||
--build-arg MYUNAME=$(MYUNAME) \
|
||||
--ulimit core=0 \
|
||||
--network host \
|
||||
-t $(TC_CONTAINER_TAG) \
|
||||
-f $(TC_DOCKERFILE) \
|
||||
.
|
||||
|
Loading…
Reference in New Issue
Block a user