Skip to content

Commit

Permalink
Merge pull request #141 from bryanlatten/feature-bcmath
Browse files Browse the repository at this point in the history
Dockerfile: added bcmath as an ext
  • Loading branch information
bryanlatten authored Aug 29, 2017
2 parents 907e39b + 9696110 commit 3e5b92a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile-56
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-70
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-71
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-71-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN apk update && \
curl \
wget \
php7 \
php7-bcmath \
php7-bz2 \
php7-fpm \
php7-apcu \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-72
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand All @@ -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
Expand Down
4 changes: 3 additions & 1 deletion container/root/tests/php-fpm/7.2.goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion container/root/tests/php-fpm/base.goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3e5b92a

Please sign in to comment.