make buildx instance use host network to keep dns as expected
parent
2e72f3cc0a
commit
ff963159a9
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
update-binfmts --enable
|
||||
docker buildx create --use
|
||||
docker buildx create --driver docker-container --driver-opt network=host --name image-builder --use
|
||||
docker buildx inspect --bootstrap
|
||||
|
||||
exec "$@"
|
||||
|
|
Loading…
Reference in New Issue