File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,21 +106,21 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
106106 ;fi
107107
108108# ##########################################################################
109- # YAML: extension
110- # ##########################################################################
109+ # YAML: extension
110+ # ##########################################################################
111111
112- ARG INSTALL_YAML=false
112+ ARG INSTALL_YAML=false
113113
114- RUN if [ ${INSTALL_YAML} = true ]; then \
115- apt-get install libyaml-dev -y ; \
116- if [ $(php -r "echo PHP_MAJOR_VERSION;" ) = "5" ]; then \
117- pecl install -a yaml-1.3.2; \
118- else \
119- pecl install yaml; \
120- fi && \
121- echo "extension=yaml.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/yaml.ini && \
122- ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/yaml.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/35-yaml.ini \
123- ;fi
114+ RUN if [ ${INSTALL_YAML} = true ]; then \
115+ apt-get install libyaml-dev -y ; \
116+ if [ $(php -r "echo PHP_MAJOR_VERSION;" ) = "5" ]; then \
117+ pecl install -a yaml-1.3.2; \
118+ else \
119+ pecl install yaml; \
120+ fi && \
121+ echo "extension=yaml.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/yaml.ini && \
122+ ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/yaml.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/35-yaml.ini \
123+ ;fi
124124
125125
126126# ##########################################################################
You can’t perform that action at this time.
0 commit comments