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; \