fix indentations
This commit is contained in:
parent
82a4b1db60
commit
72d11e4485
@ -106,12 +106,12 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
|
|||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# YAML: extension
|
# YAML: extension
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
ARG INSTALL_YAML=false
|
ARG INSTALL_YAML=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_YAML} = true ]; then \
|
RUN if [ ${INSTALL_YAML} = true ]; then \
|
||||||
apt-get install libyaml-dev -y ; \
|
apt-get install libyaml-dev -y ; \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install -a yaml-1.3.2; \
|
pecl install -a yaml-1.3.2; \
|
||||||
@ -120,7 +120,7 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
|
|||||||
fi && \
|
fi && \
|
||||||
echo "extension=yaml.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/yaml.ini && \
|
echo "extension=yaml.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/yaml.ini && \
|
||||||
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/yaml.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/35-yaml.ini \
|
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/yaml.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/35-yaml.ini \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user