Add host network for building image (#514)

Without --network host It's impossible to build images
This commit is contained in:
Piotr Paczkowski (trzeci.eu)
2020-06-04 22:02:17 +02:00
committed by GitHub
parent 6b0d151917
commit ede26f1709
2 changed files with 2 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ ifndef version
endif
build: .TEST
docker build --build-arg=EMSCRIPTEN_VERSION=${version} --tag emscripten/emsdk:${version} .
docker build --network host --build-arg=EMSCRIPTEN_VERSION=${version} --tag emscripten/emsdk:${version} .
push: .TEST
docker push emscripten/emsdk:${version}