Add PHP Decimal extension support
This commit is contained in:
@ -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