fix: Docker 构建走代理加速 Chromium 下载

This commit is contained in:
2026-03-01 00:05:50 +08:00
parent 0ac26b5ea3
commit c8e9c66f09
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -24,5 +24,8 @@ Thumbs.db
*.log *.log
logs/ logs/
# Pre-downloaded browsers (too large for git)
browsers/*.zip
# Test coverage # Test coverage
coverage/ coverage/
Vendored
+1 -1
View File
@@ -18,7 +18,7 @@ pipeline {
stage('Build Docker Image') { stage('Build Docker Image') {
steps { steps {
sh "docker build -t ${APP_NAME}:${BUILD_NUMBER} -t ${APP_NAME}:latest ." sh "docker build --build-arg HTTP_PROXY=http://host.docker.internal:7897 --build-arg HTTPS_PROXY=http://host.docker.internal:7897 -t ${APP_NAME}:${BUILD_NUMBER} -t ${APP_NAME}:latest ."
} }
} }