From a617eb2a639a7884cef4fbed5739f84ae0cacff2 Mon Sep 17 00:00:00 2001 From: augushong Date: Fri, 27 Mar 2026 20:27:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(Dockerfile):=20=E5=B0=86=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E6=BA=90=E5=88=87=E6=8D=A2=E8=87=B3=E5=86=85?= =?UTF-8?q?=E9=83=A8=E9=95=9C=E5=83=8F=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 避免因外部网络问题导致构建失败,确保构建过程稳定可靠。 --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f2cb96..ddc27e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,7 @@ RUN apt-get update # 安装nginx RUN apt-get install -y nginx -ADD --chmod=0755 https://delivery.ulthon.com/install-php-extensions /usr/local/bin/ -# ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ +ADD --chmod=0755 https://nexus.hl7.top:1243/repository/github-raw-proxy/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ RUN install-php-extensions pdo_mysql RUN install-php-extensions gd