From d2e5a89ea125911f24786d657cf019f76339c301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Mon, 30 Nov 2020 19:59:01 +0100 Subject: [PATCH] Prefer BCMath over GMP Lighter solution and easier to build --- Dockerfile.template | 2 +- apache/Dockerfile | 2 +- fpm-alpine/Dockerfile | 2 +- fpm/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile.template b/Dockerfile.template index 5a0aee6..99a092d 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -2,7 +2,7 @@ FROM php:7.4-%%VARIANT%% # install the PHP extensions we need RUN set -eux; \ - docker-php-ext-install -j "$(nproc)" gmp opcache pdo_mysql mysqli + docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php diff --git a/apache/Dockerfile b/apache/Dockerfile index 29c1493..392e001 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -2,7 +2,7 @@ FROM php:7.4-apache # install the PHP extensions we need RUN set -eux; \ - docker-php-ext-install -j "$(nproc)" gmp opcache pdo_mysql mysqli + docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php diff --git a/fpm-alpine/Dockerfile b/fpm-alpine/Dockerfile index dc980f0..cea9da1 100644 --- a/fpm-alpine/Dockerfile +++ b/fpm-alpine/Dockerfile @@ -2,7 +2,7 @@ FROM php:7.4-fpm-alpine # install the PHP extensions we need RUN set -eux; \ - docker-php-ext-install -j "$(nproc)" gmp opcache pdo_mysql mysqli + docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php diff --git a/fpm/Dockerfile b/fpm/Dockerfile index 7f01157..7f791af 100644 --- a/fpm/Dockerfile +++ b/fpm/Dockerfile @@ -2,7 +2,7 @@ FROM php:7.4-fpm # install the PHP extensions we need RUN set -eux; \ - docker-php-ext-install -j "$(nproc)" gmp opcache pdo_mysql mysqli + docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php