From c038200106493c1bb5d1a6291032c242f14ff945 Mon Sep 17 00:00:00 2001 From: SZCJW <792430652@qq.com> Date: Sat, 14 Mar 2026 00:52:27 +0800 Subject: [PATCH] x --- build_and_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_and_run.sh b/build_and_run.sh index 9e56167..b55c008 100644 --- a/build_and_run.sh +++ b/build_and_run.sh @@ -265,7 +265,7 @@ build_image() { BUILD_START=$(date +%s) - if DOCKER_BUILDKIT=1 docker build --build-arg MAX_JOBS=32 -t "${IMAGE_NAME}:${IMAGE_TAG}" .; then + if DOCKER_BUILDKIT=1 docker build --network=host --build-arg MAX_JOBS=32 -t "${IMAGE_NAME}:${IMAGE_TAG}" .; then BUILD_END=$(date +%s) BUILD_TIME=$((BUILD_END - BUILD_START))