diff --git a/5.6/Dockerfile b/5.6/Dockerfile
index ba075af499becb3f57d16fc9b880985d8d515fb0..7455e41354259349c11d0d6b91e3ebbc6bbd2d0c 100644
--- a/5.6/Dockerfile
+++ b/5.6/Dockerfile
@@ -4,7 +4,7 @@ FROM php:5.6-fpm-alpine3.4
 RUN apk add --no-cache git mariadb-client openssh freetype libpng libjpeg-turbo gettext libmcrypt libxslt icu && \
     apk add --no-cache freetype-dev libpng-dev libjpeg-turbo-dev gettext-dev libmcrypt-dev libxslt-dev icu-dev && \
     docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
-    docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath gd soap gettext mcrypt mysqli pdo_mysql opcache xsl zip intl && \
+    docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd bcmath soap gettext mcrypt mysqli pdo_mysql opcache xsl zip intl && \
     apk del --no-cache freetype-dev libpng-dev libjpeg-turbo-dev gettext-dev libmcrypt-dev libxslt-dev icu-dev
 
 # TYPO3 Dependenciy: Installation of imagemagick
diff --git a/7.0/Dockerfile b/7.0/Dockerfile
index cf7501ea2ebecd5d2f0d21e0080e05d50033cf72..eb61d615d29aff138fe98f3087e41a27c8032c6f 100644
--- a/7.0/Dockerfile
+++ b/7.0/Dockerfile
@@ -4,7 +4,7 @@ FROM php:7.0-fpm-alpine3.4
 RUN apk add --no-cache git mariadb-client openssh freetype libpng libjpeg-turbo gettext libmcrypt libxslt icu && \
     apk add --no-cache freetype-dev libpng-dev libjpeg-turbo-dev gettext-dev libmcrypt-dev libxslt-dev icu-dev && \
     docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
-    docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd soap gettext mcrypt mysqli pdo_mysql opcache xsl zip intl && \
+    docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd bcmath soap gettext mcrypt mysqli pdo_mysql opcache xsl zip intl && \
     apk del --no-cache freetype-dev libpng-dev libjpeg-turbo-dev gettext-dev libmcrypt-dev libxslt-dev icu-dev
 
 # TYPO3 Dependenciy: Installation of imagemagick
diff --git a/7.1/Dockerfile b/7.1/Dockerfile
index 56c6f34f0542dd471a810b08c1252591dcd96ae1..eb4c5656536d2b3cb49c1407bb540c977dd8a8bc 100644
--- a/7.1/Dockerfile
+++ b/7.1/Dockerfile
@@ -4,7 +4,7 @@ FROM php:7.1-fpm-alpine3.4
 RUN apk add --no-cache git mariadb-client openssh freetype libpng libjpeg-turbo gettext libmcrypt libxslt icu && \
     apk add --no-cache freetype-dev libpng-dev libjpeg-turbo-dev gettext-dev libmcrypt-dev libxslt-dev icu-dev && \
     docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
-    docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd soap gettext mcrypt mysqli pdo_mysql opcache xsl zip intl && \
+    docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd bcmath soap gettext mcrypt mysqli pdo_mysql opcache xsl zip intl && \
     apk del --no-cache freetype-dev libpng-dev libjpeg-turbo-dev gettext-dev libmcrypt-dev libxslt-dev icu-dev
 
 # TYPO3 Dependenciy: Installation of imagemagick
diff --git a/7.2/Dockerfile b/7.2/Dockerfile
index fd9f275289d857c7fcc76f929f2d1281a3bf254e..8234cdffb33191f596d49a9ddc2210dd6aecb89c 100644
--- a/7.2/Dockerfile
+++ b/7.2/Dockerfile
@@ -4,7 +4,7 @@ FROM php:7.2-fpm-alpine3.7
 RUN apk add --no-cache git mariadb-client openssh freetype libpng libjpeg-turbo gettext libmcrypt libxslt icu && \
     apk add --no-cache freetype-dev libpng-dev libjpeg-turbo-dev gettext-dev libmcrypt-dev libxslt-dev icu-dev autoconf && \
     docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
-    docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd soap gettext mysqli pdo_mysql opcache xsl zip intl && \
+    docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd bcmath soap gettext mysqli pdo_mysql opcache xsl zip intl && \
     apk add --no-cache autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c && \
     pecl install mcrypt-1.0.1 && \
     docker-php-ext-enable mcrypt && \