diff --git a/19.0/apache/Dockerfile b/19.0/apache/Dockerfile index 5b758999..230b2a31 100644 --- a/19.0/apache/Dockerfile +++ b/19.0/apache/Dockerfile @@ -44,6 +44,7 @@ RUN set -ex; \ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \ docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install -j "$(nproc)" \ + bcmath \ exif \ gd \ intl \ diff --git a/19.0/fpm-alpine/Dockerfile b/19.0/fpm-alpine/Dockerfile index 3d1942c2..dba6f693 100644 --- a/19.0/fpm-alpine/Dockerfile +++ b/19.0/fpm-alpine/Dockerfile @@ -38,6 +38,7 @@ RUN set -ex; \ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \ docker-php-ext-configure ldap; \ docker-php-ext-install -j "$(nproc)" \ + bcmath \ exif \ gd \ intl \ diff --git a/19.0/fpm/Dockerfile b/19.0/fpm/Dockerfile index 0f7a198b..53a3c519 100644 --- a/19.0/fpm/Dockerfile +++ b/19.0/fpm/Dockerfile @@ -44,6 +44,7 @@ RUN set -ex; \ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \ docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install -j "$(nproc)" \ + bcmath \ exif \ gd \ intl \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 6cf338a6..7511056c 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -37,6 +37,7 @@ RUN set -ex; \ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \ docker-php-ext-configure ldap; \ docker-php-ext-install -j "$(nproc)" \ + bcmath \ exif \ gd \ intl \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 361a5eb1..8026cf12 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -45,6 +45,7 @@ RUN set -ex; \ docker-php-ext-configure gmp --with-gmp="/usr/include/$debMultiarch"; \ docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install -j "$(nproc)" \ + bcmath \ exif \ gd \ intl \ diff --git a/update.sh b/update.sh index 8cb55e85..918ac8b4 100755 --- a/update.sh +++ b/update.sh @@ -147,6 +147,15 @@ function create_variant() { ;; esac + case "$version" in + 16.*|17.*|18.* ) + sed -ri -e ' + \@bcmath@d; + ' "$dir/Dockerfile" + ;; + + esac + # Copy the shell scripts for name in entrypoint cron; do cp "docker-$name.sh" "$dir/$name.sh"