File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ RUN set -ex && if [ $OPCACHE_DEFAULTS = "true" ]; then \
6666
6767# Xdebug
6868ARG XDEBUG=false
69- RUN if [ $XDEBUG = "true" ]; then pecl install xdebug && docker-php-ext-enable xdebug; fi
69+ RUN if [ $XDEBUG = "true" ]; then \
70+ pecl install xdebug && docker-php-ext-enable xdebug \
71+ && echo "xdebug.mode=develop,coverage" | tee $PHP_INI_DIR/conf.d/xdebug-mode.ini; fi
7072
7173# Composer
7274ARG COMPOSER=true
@@ -75,7 +77,7 @@ RUN if [ $COMPOSER = "true" ]; then \
7577
7678# npm
7779ARG NODE_JS=false
78- ARG NODE_VERSION="setup_13 .x"
80+ ARG NODE_VERSION="setup_16 .x"
7981RUN if [ $NODE_JS = "true" ]; then \
8082 curl -sL https://deb.nodesource.com/$NODE_VERSION | bash - && \
8183 apt-get install -y --no-install-recommends nodejs && \
@@ -109,7 +111,7 @@ RUN if [ $WP_CLI = "true" ]; then \
109111
110112# PHPUnit
111113ARG PHPUNIT=true
112- ARG PHPUNIT_VERSION="9"
114+ ARG PHPUNIT_VERSION="9.5.4 "
113115RUN if [ $PHPUNIT = "true" ]; then \
114116 curl -LO https://phar.phpunit.de/phpunit-${PHPUNIT_VERSION}.phar \
115117 && chmod +x phpunit-${PHPUNIT_VERSION}.phar \
Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2018 devosc
3+ Copyright (c) 2021 devosc
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ RUN set -ex && if [ $OPCACHE_DEFAULTS = "true" ]; then \
6666
6767# Xdebug
6868ARG XDEBUG=false
69- RUN if [ $XDEBUG = "true" ]; then pecl install xdebug && docker-php-ext-enable xdebug; fi
69+ RUN if [ $XDEBUG = "true" ]; then \
70+ pecl install xdebug && docker-php-ext-enable xdebug \
71+ && echo "xdebug.mode=develop,coverage" | tee $PHP_INI_DIR/conf.d/xdebug-mode.ini; fi
7072
7173# Composer
7274ARG COMPOSER=true
@@ -85,7 +87,7 @@ RUN if [ $MAIL = "true" ]; then \
8587
8688# PHPUnit
8789ARG PHPUNIT=true
88- ARG PHPUNIT_VERSION="9"
90+ ARG PHPUNIT_VERSION="9.5.4 "
8991RUN if [ $PHPUNIT = "true" ]; then \
9092 curl -LO https://phar.phpunit.de/phpunit-${PHPUNIT_VERSION}.phar \
9193 && chmod +x phpunit-${PHPUNIT_VERSION}.phar \
You can’t perform that action at this time.
0 commit comments