File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11# Start with the latest WordPress image.
2- FROM wordpress:5.5.1-php7.4
2+ FROM wordpress:php8.1
33
44# Set up nodejs PPA
55RUN curl -sL https://deb.nodesource.com/setup_12.x | bash
@@ -25,7 +25,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/
2525
2626ENV PATH="/root/.composer/vendor/bin::${PATH}"
2727
28- RUN composer global require "phpunit/phpunit=5.7 .*"
28+ RUN composer global require "phpunit/phpunit=8 .*"
2929RUN composer global require "dealerdirect/phpcodesniffer-composer-installer"
3030RUN composer global require wp-coding-standards/wpcs
3131RUN phpcs --config-set installed_paths /root/.composer/vendor/wp-coding-standards/wpcs
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ services:
1313 volumes :
1414 - ./:/var/www/html/wp-content/plugins/wp-unit-test-reporter
1515 environment :
16- WORDPRESS_DB_PASSWORD : password
16+ - WORDPRESS_DB_NAME=wordpress
17+ - WORDPRESS_DB_USER=root
18+ - WORDPRESS_DB_PASSWORD=password
1719 db :
1820 image : mysql
1921 restart : always
You can’t perform that action at this time.
0 commit comments