Use docker command to enable pcov
This commit is contained in:
parent
bdf2a285a7
commit
ff640a0ca2
|
@ -176,8 +176,7 @@ RUN if [ ${INSTALL_PCOV} = true ]; then \
|
|||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
||||
if [ $(php -r "echo PHP_MINOR_VERSION;") != "0" ]; then \
|
||||
pecl install pcov && \
|
||||
echo "extension=pcov.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini && \
|
||||
echo "pcov.enabled" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \
|
||||
docker-php-ext-enable pcov \
|
||||
;fi \
|
||||
;fi \
|
||||
;fi
|
||||
|
|
Loading…
Reference in New Issue