From fbf6b52a082f5d8edadf25a937e2db9d75597297 Mon Sep 17 00:00:00 2001 From: nanxun Date: Thu, 2 Jul 2026 19:38:50 +0800 Subject: [PATCH] ci: drop NO_PROXY from buildkit driver-opt to avoid comma parsing in docker CLI Docker buildx create --driver-opt splits values on commas as list separators, causing 'env.NO_PROXY=127.0.0.1,localhost,...' to be parsed as separate key=value entries and failing with: invalid value "localhost", expecting k=v The NO_PROXY hosts for build containers are already passed via build-arg in the build stage; the buildkit container itself doesn't need them. Co-Authored-By: Claude Opus 4.8 (1M context) --- Jenkinsfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4d94250..54e4fe5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -111,10 +111,8 @@ EOF --driver-opt network=host \ --driver-opt 'env.HTTP_PROXY=${HTTP_PROXY_URL}' \ --driver-opt 'env.HTTPS_PROXY=${HTTP_PROXY_URL}' \ - --driver-opt 'env.NO_PROXY=${NO_PROXY_HOSTS}' \ --driver-opt 'env.http_proxy=${HTTP_PROXY_URL}' \ --driver-opt 'env.https_proxy=${HTTP_PROXY_URL}' \ - --driver-opt 'env.no_proxy=${NO_PROXY_HOSTS}' \ --config \$BUILDKITD_TOML \ --use sudo docker buildx inspect --builder ${BUILDER_NAME} --bootstrap >/dev/null