From 9206c7ee2846dacad75a470fe5e957a55ddea8f3 Mon Sep 17 00:00:00 2001 From: ivampiresp Date: Sun, 27 Jul 2025 04:49:36 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 199b7a1..8ecad76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN set -eux; \ \ # 更新系统并安装基础工具 apt update; \ - apt install -y --no-install-recommends wget ca-certificates; \ + apt install -y --no-install-recommends wget unzip ca-certificates; \ \ # 添加 PHP 仓库 wget --no-check-certificate -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg; \ @@ -44,7 +44,7 @@ RUN set -eux; \ \ # 安装 PECL 扩展 pecl channel-update pecl.php.net; \ - MAKEFLAGS="-j $(nproc)" pecl install grpc openswoole; \ + MAKEFLAGS="-j $(nproc)" pecl install grpc swoole; \ \ # 移除构建依赖和缓存 strip --strip-debug /usr/lib/php/*/*.so; \