build-setup.sh: Fix for Podman use
Using this script with Podman over proxy does not work
and this is the fix.
I tested it with Podman using proxy and also on Docker without proxy for
the Ubuntu and Fedora containers.
Change-Id: Ic5ba6eb92426bc272a82c79d103abc5a86bc580a
Signed-off-by: Frederic Jacob <fjacob@meta.com>
diff --git a/build-setup.sh b/build-setup.sh
index 1dd5ed4..1164f15 100755
--- a/build-setup.sh
+++ b/build-setup.sh
@@ -400,7 +400,7 @@
export BUILDKIT_PROGRESS=plain
# Build the Docker image
-docker build -t "${img_name}" - <<< "${Dockerfile}"
+docker build --network=host -t "${img_name}" - <<< "${Dockerfile}"
# If obmc_dir or ssc_dir are ${HOME} or a subdirectory they will not be mounted
mount_obmc_dir="-v ""${obmc_dir}"":""${obmc_dir}"" "