File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ export PHP_EXT_CONFIGURE=
1010export PHP_EXT_INSTALL =
1111export COMPOSER = true
1212export XDEBUG = false
13+ export PHPUNIT = true
1314export NODE_JS = true
1415export WP_CLI = false
1516export RELEASE_VERSION = apache
17+ export CLI_RELEASE_VERSION = cli
Original file line number Diff line number Diff line change @@ -97,6 +97,14 @@ RUN if [ $WP_CLI = "true" ]; then \
9797 chmod +x wp-cli.phar && \
9898 mv wp-cli.phar /usr/local/bin/wp; fi
9999
100+ # PHPUnit
101+ ARG PHPUNIT=true
102+ ARG PHPUNIT_VERSION="7.5.1"
103+ RUN if [ $PHPUNIT = "true" ]; then \
104+ curl -O https://phar.phpunit.de/phpunit-${PHPUNIT_VERSION}.phar \
105+ && chmod +x phpunit-${PHPUNIT_VERSION}.phar \
106+ && mv phpunit-${PHPUNIT_VERSION}.phar /usr/local/bin/phpunit; fi
107+
100108# Apache
101109ARG WWW_USER=app
102110ARG WWW_GROUP=app
You can’t perform that action at this time.
0 commit comments