PHP YAML extension (#1798)

This commit is contained in:
Michael Radionov
2018-11-22 05:12:52 +05:00
committed by Shao Yu-Lung (Allen)
parent d7765a7b10
commit 796b46cf5a
4 changed files with 31 additions and 0 deletions

View File

@ -539,6 +539,20 @@ RUN if [ $INSTALL_PHALCON = true ]; then \
&& rm -rf /tmp/cphalcon* \
;fi
###########################################################################
# YAML:
###########################################################################
USER root
ARG INSTALL_YAML=false
RUN if [ ${INSTALL_YAML} = true ]; then \
apt-get install libyaml-dev -y ; \
pecl install yaml ; \
docker-php-ext-enable yaml \
;fi
###########################################################################
# Check PHP version:
###########################################################################