From c8e9c66f090188969b50dcb07087cc1a97bd5660 Mon Sep 17 00:00:00 2001 From: kurihada Date: Sun, 1 Mar 2026 00:05:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Docker=20=E6=9E=84=E5=BB=BA=E8=B5=B0?= =?UTF-8?q?=E4=BB=A3=E7=90=86=E5=8A=A0=E9=80=9F=20Chromium=20=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ Jenkinsfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 485f82c..0086182 100644 --- a/.gitignore +++ b/.gitignore @@ -24,5 +24,8 @@ Thumbs.db *.log logs/ +# Pre-downloaded browsers (too large for git) +browsers/*.zip + # Test coverage coverage/ diff --git a/Jenkinsfile b/Jenkinsfile index f8dfd11..2ae4ffa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ pipeline { stage('Build Docker Image') { 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 ." } }