Skip to content

Commit 782a0ae

Browse files
committed
Build/Test Tools: Change 5.5 default values of LOCAL_PHP/LOCAL_DB_VERSION.
This changes the default values for `LOCAL_PHP` and `LOCAL_DB_VERSION` in the 5.5 branch from `latest` to `7.4-fpm` 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.5@58668 602fd350-edb4-49c9-b593-d223f7449a82
1 parent b133be8 commit 782a0ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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=7.4-fpm
2020

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

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ services:
3232
# The PHP container.
3333
##
3434
php:
35-
image: wordpressdevelop/php:${LOCAL_PHP-latest}
35+
image: wordpressdevelop/php:${LOCAL_PHP-7.4-fpm}
3636

3737
networks:
3838
- wpdevnet
@@ -62,7 +62,7 @@ services:
6262
# The MySQL container.
6363
##
6464
mysql:
65-
image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest}
65+
image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-5.7}
6666
platform: linux/amd64
6767

6868
networks:
@@ -121,7 +121,7 @@ services:
121121
# The PHPUnit container.
122122
##
123123
phpunit:
124-
image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-latest}
124+
image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-7.4-fpm}
125125

126126
networks:
127127
- wpdevnet

0 commit comments

Comments
 (0)