Docker Build with Host Networking

1 line
docker build --network=host -t $IMAGE ./