fix(YAML extension): avoid typo

This commit is contained in:
Pavel Savushkin 2021-03-21 18:51:06 +02:00
parent 9317b71ebc
commit ad2b94fa60
No known key found for this signature in database
GPG Key ID: BD2EDA3E125300DD
1 changed files with 1 additions and 1 deletions

View File

@ -1391,7 +1391,7 @@ RUN if [ ${INSTALL_YAML} = true ]; then \
echo '' | pecl install -a yaml-1.3.2; \ echo '' | pecl install -a yaml-1.3.2; \
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \ elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
echo '' | pecl install yaml-2.0.4; \ echo '' | pecl install yaml-2.0.4; \
else else \
echo '' | pecl install yaml; \ echo '' | pecl install yaml; \
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 \