From ff70823d50937dbd1a8f3c575d5cef8170767794 Mon Sep 17 00:00:00 2001 From: ivampiresp Date: Sun, 13 Jul 2025 09:06: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 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 80a50e2..199b7a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,11 @@ RUN set -eux; \ php8.4-bz2 \ php8.4-mongodb \ php8.4-memcached \ + php8.4-imap \ + php8.4-exif \ + php8.4-fileinfo \ + php8.4-apcu \ + php8.4-gmp \ libz-dev; \ \ # 安装构建依赖 (仅编译时使用) @@ -39,7 +44,7 @@ RUN set -eux; \ \ # 安装 PECL 扩展 pecl channel-update pecl.php.net; \ - MAKEFLAGS="-j $(nproc)" pecl install grpc openswoole gmp intl fileinfo opcache memcached redis apcu imagemagick exif imap exif yaml; \ + MAKEFLAGS="-j $(nproc)" pecl install grpc openswoole; \ \ # 移除构建依赖和缓存 strip --strip-debug /usr/lib/php/*/*.so; \