From c8b990bccf0890868a6c485d2ce94d6292f7b184 Mon Sep 17 00:00:00 2001 From: limeng <1131177064@qq.com> Date: Mon, 21 Sep 2026 17:45:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=9F=E4=BA=A7=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=20Composer=20=E9=95=9C=E5=83=8F=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/Dockerfile | 2 +- tests/Unit/Deployment/ProductionBuildCachePolicyTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 02cc6fe6..367cea34 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -35,7 +35,7 @@ RUN apt-get -o Acquire::Retries=3 update \ && a2enmod expires headers rewrite \ && rm -rf /var/lib/apt/lists/* -FROM composer:2.8@sha256:5248900ab8b5f7f880c2d62180e40960cd87f60149ec9a1abfd62ac72a02577c AS composer-bin +FROM m.daocloud.io/docker.io/library/composer:2.8@sha256:5248900ab8b5f7f880c2d62180e40960cd87f60149ec9a1abfd62ac72a02577c AS composer-bin FROM php-base AS vendor diff --git a/tests/Unit/Deployment/ProductionBuildCachePolicyTest.php b/tests/Unit/Deployment/ProductionBuildCachePolicyTest.php index b07dfcca..c38585ce 100644 --- a/tests/Unit/Deployment/ProductionBuildCachePolicyTest.php +++ b/tests/Unit/Deployment/ProductionBuildCachePolicyTest.php @@ -26,7 +26,7 @@ class ProductionBuildCachePolicyTest extends TestCase $dockerfile, ); $this->assertStringContainsString( - 'FROM composer:2.8@sha256:5248900ab8b5f7f880c2d62180e40960cd87f60149ec9a1abfd62ac72a02577c AS composer-bin', + 'FROM m.daocloud.io/docker.io/library/composer:2.8@sha256:5248900ab8b5f7f880c2d62180e40960cd87f60149ec9a1abfd62ac72a02577c AS composer-bin', $dockerfile, ); $this->assertStringContainsString('Acquire::Retries=3', $dockerfile); -- 2.47.2