[PHP-FPM] Add bcmath and GMP

master
andryyy 2020-06-14 20:13:09 +02:00
parent 0c626c66ac
commit f7c807b290
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ RUN apk add -U --no-cache autoconf \
g++ \ g++ \
git \ git \
gettext-dev \ gettext-dev \
gmp-dev \
gnupg \ gnupg \
icu-dev \ icu-dev \
icu-libs \ icu-libs \
@ -58,7 +59,7 @@ RUN apk add -U --no-cache autoconf \
&& docker-php-ext-configure exif \ && docker-php-ext-configure exif \
&& docker-php-ext-configure gd --with-freetype=/usr/include/ \ && docker-php-ext-configure gd --with-freetype=/usr/include/ \
--with-jpeg=/usr/include/ \ --with-jpeg=/usr/include/ \
&& docker-php-ext-install -j 4 exif gd gettext intl ldap opcache pcntl pdo pdo_mysql soap sockets xmlrpc zip \ && docker-php-ext-install -j 4 exif gd gettext intl ldap opcache pcntl pdo pdo_mysql soap sockets xmlrpc zip bcmath gmp \
&& docker-php-ext-configure imap --with-imap --with-imap-ssl \ && docker-php-ext-configure imap --with-imap --with-imap-ssl \
&& docker-php-ext-install -j 4 imap \ && docker-php-ext-install -j 4 imap \
&& curl --silent --show-error https://getcomposer.org/installer | php \ && curl --silent --show-error https://getcomposer.org/installer | php \

View File

@ -102,7 +102,7 @@ services:
- rspamd - rspamd
php-fpm-mailcow: php-fpm-mailcow:
image: mailcow/phpfpm:1.63 image: mailcow/phpfpm:1.64
command: "php-fpm -d date.timezone=${TZ} -d expose_php=0" command: "php-fpm -d date.timezone=${TZ} -d expose_php=0"
depends_on: depends_on:
- redis-mailcow - redis-mailcow