diff --git a/php-7.0/Dockerfile b/php-7.0/Dockerfile
index b4ee0c8515fcc1fb0b65ffde2a675a726a8692fe..8b631ce691767be66cc9b1460aec1ed98b66423d 100644
--- a/php-7.0/Dockerfile
+++ b/php-7.0/Dockerfile
@@ -70,7 +70,7 @@ RUN mkdir -p /root/.ssh && \
     apk add --no-cache curl openssl openssh ca-certificates wget make patch g++ \
         bash fish python nodejs git unzip \
         php7 php7-phar php7-json php7-dom php7-gd php7-mbstring php7-openssl \
-        php7-pdo php7-curl php7-xml php7-zip php7-session php7-ctype php7-iconv && \
+        php7-pdo php7-curl php7-xml php7-zip php7-session php7-ctype php7-iconv php7-bcmath && \
     \
     sed -i -e 's/memory_limit = 128M/memory_limit = -1/g' /etc/php7/php.ini && \
     \
diff --git a/php-7.1/Dockerfile b/php-7.1/Dockerfile
index 56f84f678c8aa3ec63ca46399954d5e5c7f69933..8a32698bfb993cc7bc2b9d5c73fc42882c3c7a53 100644
--- a/php-7.1/Dockerfile
+++ b/php-7.1/Dockerfile
@@ -65,7 +65,7 @@ RUN mkdir -p /root/.ssh && \
     apk add --no-cache curl openssl openssh ca-certificates wget make patch g++ \
         bash fish python nodejs git unzip \
         php7 php7-phar php7-json php7-dom php7-gd php7-mbstring php7-openssl \
-        php7-pdo php7-curl php7-xml php7-zip php7-session php7-ctype php7-iconv \
+        php7-pdo php7-curl php7-xml php7-zip php7-session php7-ctype php7-iconv php7-bcmath \
         php7-tokenizer php7-simplexml php7-xmlwriter && \
     \
     sed -i -e 's/memory_limit = 128M/memory_limit = -1/g' /etc/php7/php.ini && \
diff --git a/php-7.2/Dockerfile b/php-7.2/Dockerfile
index f9c25b1ab65ff64e4c685dab5be18b96150c7bdb..c46e65247e1ad40c15bfe43bf6727753022b5966 100644
--- a/php-7.2/Dockerfile
+++ b/php-7.2/Dockerfile
@@ -65,7 +65,7 @@ RUN mkdir -p /root/.ssh && \
     apk add --no-cache curl openssl openssh ca-certificates wget make patch g++ \
         bash fish python nodejs npm git unzip \
         php7 php7-phar php7-json php7-dom php7-gd php7-mbstring php7-openssl \
-        php7-pdo php7-curl php7-xml php7-zip php7-session php7-ctype php7-iconv \
+        php7-pdo php7-curl php7-xml php7-zip php7-session php7-ctype php7-iconv php7-bcmath \
         php7-tokenizer php7-simplexml php7-xmlwriter && \
     \
     sed -i -e 's/memory_limit = 128M/memory_limit = -1/g' /etc/php7/php.ini && \