Skip to content

Commit afd9613

Browse files
committed
Build/Test Tools: Change 5.7 default values of LOCAL_PHP/LOCAL_DB_VERSION.
This changes the default values for `LOCAL_PHP` and `LOCAL_DB_VERSION` in the 5.7 branch from `latest` to `8.0-fpm` (with beta support) and `5.7`, respectively, to properly reflect the highest versions of PHP and MySQL that this branch will support. See #61533. git-svn-id: https://develop.svn.wordpress.org/branches/5.7@58666 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 7e6b320 commit afd9613

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LOCAL_PORT=8889
1616
LOCAL_DIR=src
1717

1818
# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
19-
LOCAL_PHP=latest
19+
LOCAL_PHP=8.0-fpm
2020

2121
##
2222
# The PHPUnit version to use when running tests.

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
# The PHP container.
3232
##
3333
php:
34-
image: wordpressdevelop/php:${LOCAL_PHP-latest}
34+
image: wordpressdevelop/php:${LOCAL_PHP-8.0-fpm}
3535

3636
networks:
3737
- wpdevnet
@@ -53,7 +53,7 @@ services:
5353
# The MySQL container.
5454
##
5555
mysql:
56-
image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest}
56+
image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-5.7}
5757
platform: linux/amd64
5858

5959
networks:
@@ -76,7 +76,7 @@ services:
7676
# The WP CLI container.
7777
##
7878
cli:
79-
image: wordpressdevelop/cli:${LOCAL_PHP-latest}
79+
image: wordpressdevelop/cli:${LOCAL_PHP-8.0-fpm}
8080

8181
networks:
8282
- wpdevnet
@@ -97,7 +97,7 @@ services:
9797
# The PHPUnit container.
9898
##
9999
phpunit:
100-
image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-latest}
100+
image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-8.0-fpm}
101101

102102
networks:
103103
- wpdevnet

0 commit comments

Comments
 (0)