Typo in PHP Version check
This commit is contained in:
parent
47bb995cad
commit
bdf2a285a7
|
@ -174,7 +174,7 @@ ARG INSTALL_PCOV=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_PCOV} = true ]; then \
|
RUN if [ ${INSTALL_PCOV} = true ]; then \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "0" ]; then \
|
if [ $(php -r "echo PHP_MINOR_VERSION;") != "0" ]; then \
|
||||||
pecl install pcov && \
|
pecl install pcov && \
|
||||||
echo "extension=pcov.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini && \
|
echo "extension=pcov.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini && \
|
||||||
echo "pcov.enabled" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \
|
echo "pcov.enabled" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \
|
||||||
|
|
Loading…
Reference in New Issue