fix(Dockerfile): 将安装脚本源切换至内部镜像仓库

避免因外部网络问题导致构建失败,确保构建过程稳定可靠。
This commit is contained in:
augushong
2026-03-27 20:27:43 +08:00
parent 7ef19f6357
commit a617eb2a63

View File

@@ -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