perf(ci): accelerate native Docker dependencies

This commit is contained in:
2026-08-12 15:50:58 +08:00
parent ad8162f07e
commit 3994bfb1da
3 changed files with 30 additions and 7 deletions
Vendored
+2 -1
View File
@@ -129,7 +129,8 @@ pipeline {
withCredentials([usernamePassword(credentialsId: "${NODE_CREDENTIALS}", usernameVariable: 'JENKINS_NODE_USERNAME', passwordVariable: 'JENKINS_NODE_PASSWORD')]) {
sh '''
set -euo pipefail
DOCKER_BUILDKIT=0 ./scripts/ci-docker.sh build --network host --no-cache \
DOCKER_BUILDKIT=0 ./scripts/ci-docker.sh build --network host \
--build-arg PIP_INDEX_URL="$PIP_INDEX_URL" \
--build-arg HTTP_PROXY="$HTTP_PROXY_URL" --build-arg HTTPS_PROXY="$HTTP_PROXY_URL" \
--build-arg NO_PROXY="$NO_PROXY_HOSTS" -t "$IMAGE_REF" .
smoke_name="imagefind-smoke-$BUILD_NUMBER"