fix(YAML extension): avoid typo

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

View File

@ -843,7 +843,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 \
&& docker-php-ext-enable yaml; \ && docker-php-ext-enable yaml; \