Skip to content

Commit 7dd618c

Browse files
committed
Build/Test Tools: Change 5.3 default values of LOCAL_PHP/LOCAL_DB_VERSION.
This changes the default values for `LOCAL_PHP` and `LOCAL_DB_VERSION` in the 5.3 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.3@58670 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 33c83c0 commit 7dd618c

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=7.4-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
@@ -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
@@ -63,7 +63,7 @@ services:
6363
# The MySQL container.
6464
##
6565
mysql:
66-
image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest}
66+
image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-5.7}
6767
platform: linux/amd64
6868

6969
networks:
@@ -92,7 +92,7 @@ services:
9292
# The WP CLI container.
9393
##
9494
cli:
95-
image: wordpressdevelop/cli:${LOCAL_PHP-latest}
95+
image: wordpressdevelop/cli:${LOCAL_PHP-7.4-fpm}
9696

9797
networks:
9898
- wpdevnet
@@ -122,7 +122,7 @@ services:
122122
# The PHPUnit container.
123123
##
124124
phpunit:
125-
image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-latest}
125+
image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-7.4-fpm}
126126

127127
networks:
128128
- wpdevnet

0 commit comments

Comments
 (0)