[PHP-FPM] Add bcmath and GMP

This commit is contained in:
andryyy
2020-06-14 20:13:09 +02:00
parent 0c626c66ac
commit f7c807b290
2 changed files with 3 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ RUN apk add -U --no-cache autoconf \
g++ \
git \
gettext-dev \
gmp-dev \
gnupg \
icu-dev \
icu-libs \
@@ -58,7 +59,7 @@ RUN apk add -U --no-cache autoconf \
&& docker-php-ext-configure exif \
&& docker-php-ext-configure gd --with-freetype=/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-install -j 4 imap \
&& curl --silent --show-error https://getcomposer.org/installer | php \