[PHP-FPM] Add bcmath and GMP
parent
0c626c66ac
commit
f7c807b290
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue