Skip to content
This repository was archived by the owner on Mar 13, 2019. It is now read-only.

Commit

Permalink
Adding bcmath php module
Browse files Browse the repository at this point in the history
This installs the php extension bcmath so that it is possible to use libraries such as phpamqplib
  • Loading branch information
derekbelrose committed Jun 21, 2016
1 parent 4782564 commit ac801a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN apt-get update && \
&& rm -r /var/lib/apt/lists/*

# PHP Extensions
RUN docker-php-ext-install mcrypt zip bz2 mbstring pcntl xsl \
RUN docker-php-ext-install bcmath mcrypt zip bz2 mbstring pcntl xsl \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install gd \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \
Expand Down
2 changes: 1 addition & 1 deletion base/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN apk --update add \
make \
unzip \
wget && \
docker-php-ext-install mcrypt zip bz2 mbstring pcntl xsl && \
docker-php-ext-install bcmath mcrypt zip bz2 mbstring pcntl xsl && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
docker-php-ext-install gd && \
docker-php-ext-configure ldap --with-libdir=lib/ && \
Expand Down
2 changes: 1 addition & 1 deletion base/php5-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN apk --update add \
php5-pear \
unzip \
wget && \
docker-php-ext-install mcrypt zip bz2 mbstring pcntl xsl && \
docker-php-ext-install bcmath mcrypt zip bz2 mbstring pcntl xsl && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
docker-php-ext-install gd && \
docker-php-ext-configure ldap --with-libdir=lib/ && \
Expand Down
2 changes: 1 addition & 1 deletion base/php5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN apt-get update && \
&& rm -r /var/lib/apt/lists/*

# PHP Extensions
RUN docker-php-ext-install mcrypt zip bz2 mbstring pcntl xsl \
RUN docker-php-ext-install bcmath mcrypt zip bz2 mbstring pcntl xsl \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install gd \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \
Expand Down

0 comments on commit ac801a0

Please sign in to comment.