更新 Dockerfile
This commit is contained in:
parent
25b5b8c82b
commit
ff70823d50
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user