From 9696110882d27b840607acb2215950ef29efd02d Mon Sep 17 00:00:00 2001 From: Bryan Latten Date: Mon, 28 Aug 2017 13:20:32 -0400 Subject: [PATCH] Dockerfile: added bcmath as an ext --- Dockerfile-56 | 1 + Dockerfile-70 | 1 + Dockerfile-71 | 1 + Dockerfile-71-alpine | 1 + Dockerfile-72 | 1 + README.md | 3 ++- container/root/tests/php-fpm/7.2.goss.yaml | 4 +++- container/root/tests/php-fpm/base.goss.yaml | 4 +++- 8 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Dockerfile-56 b/Dockerfile-56 index 8a9e055..47ed8a0 100644 --- a/Dockerfile-56 +++ b/Dockerfile-56 @@ -65,6 +65,7 @@ RUN apt-get update -q && \ apt-get -yqq install \ php5.6 \ php5.6-apcu \ + php5.6-bcmath \ php5.6-bz2 \ php5.6-curl \ php5.6-dev \ diff --git a/Dockerfile-70 b/Dockerfile-70 index f5b7dcf..423513e 100644 --- a/Dockerfile-70 +++ b/Dockerfile-70 @@ -65,6 +65,7 @@ RUN apt-get update -q && \ apt-get -yqq install \ php7.0 \ php7.0-apcu \ + php7.0-bcmath \ php7.0-bz2 \ php7.0-curl \ php7.0-dev \ diff --git a/Dockerfile-71 b/Dockerfile-71 index c377d61..542014d 100644 --- a/Dockerfile-71 +++ b/Dockerfile-71 @@ -65,6 +65,7 @@ RUN apt-get update -q && \ apt-get -yqq install \ php7.1 \ php7.1-apcu \ + php7.1-bcmath \ php7.1-bz2 \ php7.1-curl \ php7.1-dev \ diff --git a/Dockerfile-71-alpine b/Dockerfile-71-alpine index f9da562..05a6b3e 100644 --- a/Dockerfile-71-alpine +++ b/Dockerfile-71-alpine @@ -31,6 +31,7 @@ RUN apk update && \ curl \ wget \ php7 \ + php7-bcmath \ php7-bz2 \ php7-fpm \ php7-apcu \ diff --git a/Dockerfile-72 b/Dockerfile-72 index 0a46627..0e8f103 100644 --- a/Dockerfile-72 +++ b/Dockerfile-72 @@ -79,6 +79,7 @@ RUN apt-get update -q && \ RUN apt-get -yqq install \ php7.2 \ + php7.2-bcmath \ php7.2-bz2 \ php7.2-curl \ php7.2-dev \ diff --git a/README.md b/README.md index 57d6afe..585c1f0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Add’s PHP-FPM, mods, and specific backend configuration to Behance’s [docker #### New naming scheme: `PHP_MAJOR.PHP_MINOR-Major.Minor.Patch(-variant)` - `PHP_MAJOR.PHP_MINOR` are the runtime versions of PHP. -- `Major.Minor.Patch` are versions of the container provisioning software +- `Major.Minor.Patch` are versions of the container provisioning software - `(-variant)`, an optional distinction, i.e. `-alpine`. Alpine variants are slim versions of the container. @@ -28,6 +28,7 @@ Add’s PHP-FPM, mods, and specific backend configuration to Behance’s [docker `~` - disabled by default (use `phpenmod` to enable on non-Alpine variants, uncomment .ini file otherwise) - apcu + - bcmath - bz2 - calendar - ctype diff --git a/container/root/tests/php-fpm/7.2.goss.yaml b/container/root/tests/php-fpm/7.2.goss.yaml index 14e0bc6..e2e5fae 100644 --- a/container/root/tests/php-fpm/7.2.goss.yaml +++ b/container/root/tests/php-fpm/7.2.goss.yaml @@ -29,10 +29,12 @@ command: # Test the standard extensions are enabled php -m | grep -i apcu: exit-status: 0 - php -m | grep -i calendar: + php -m | grep -i bcmath: exit-status: 0 php -m | grep -i bz2: exit-status: 0 + php -m | grep -i calendar: + exit-status: 0 php -m | grep -i ctype: exit-status: 0 php -m | grep -i curl: diff --git a/container/root/tests/php-fpm/base.goss.yaml b/container/root/tests/php-fpm/base.goss.yaml index 1a1ba4e..7c7f1cb 100644 --- a/container/root/tests/php-fpm/base.goss.yaml +++ b/container/root/tests/php-fpm/base.goss.yaml @@ -28,10 +28,12 @@ command: # Test the standard extensions are enabled php -m | grep -i apcu: exit-status: 0 - php -m | grep -i calendar: + php -m | grep -i bcmath: exit-status: 0 php -m | grep -i bz2: exit-status: 0 + php -m | grep -i calendar: + exit-status: 0 php -m | grep -i ctype: exit-status: 0 php -m | grep -i curl: