更新依赖

This commit is contained in:
Chenx221 2024-05-24 22:25:48 +08:00
parent 05ecf5b3df
commit af25916103
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -2,7 +2,7 @@
FROM php:8.2-apache FROM php:8.2-apache
# 安装 Redis 扩展和其他必要的 PHP 扩展 # 安装 Redis 扩展和其他必要的 PHP 扩展
RUN apt-get update && apt-get install -y git sudo libmagickwand-dev libzip-dev unzip libxslt-dev libgmp-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libfreetype6-dev libbz2-dev libldap2-dev zlib1g-dev libsqlite3-dev \ RUN apt-get update && apt-get install -y ethtool iproute2 git sudo libmagickwand-dev libzip-dev unzip libxslt-dev libgmp-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libfreetype6-dev libbz2-dev libldap2-dev zlib1g-dev libsqlite3-dev \
&& docker-php-ext-install zip xsl gmp curl bcmath gd mysqli ldap pdo pdo_mysql pdo_sqlite soap intl pcntl \ && docker-php-ext-install zip xsl gmp curl bcmath gd mysqli ldap pdo pdo_mysql pdo_sqlite soap intl pcntl \
&& pecl install imagick redis \ && pecl install imagick redis \
&& docker-php-ext-enable imagick redis && docker-php-ext-enable imagick redis