Add PHP Decimal extension support
This commit is contained in:
1 parent
29f3d6a671
commit
ed649993ca
5 files changed
+51
No files matched your search
@@ -977,6 +977,21 @@ RUN if [ ${INSTALL_XMLRPC} = true ]; then \
|
||||
docker-php-ext-install xmlrpc \
|
||||
;fi
|
||||
|
||||
###########################################################################
|
||||
# PHP DECIMAL:
|
||||
###########################################################################
|
||||
|
||||
USER root
|
||||
|
||||
ARG INSTALL_PHPDECIMAL=false
|
||||
|
||||
RUN if [ ${INSTALL_PHPDECIMAL} = true ]; then \
|
||||
apt-get update -yqq \
|
||||
&& apt-get install -y libmpdec-dev \
|
||||
&& pecl install decimal \
|
||||
&& docker-php-ext-enable decimal \
|
||||
;fi
|
||||
|
||||
###########################################################################
|
||||
# New Relic for PHP:
|
||||
###########################################################################
|
||||
|
||||
Reference in new issue
Block a user