Skip to content

Commit

Permalink
Build/Test Tools: Change 5.5 default values of LOCAL_PHP/`LOCAL_DB_…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
desrosj committed Jul 3, 2024
1 parent b133be8 commit 782a0ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ LOCAL_PORT=8889
LOCAL_DIR=src

# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
LOCAL_PHP=latest
LOCAL_PHP=7.4-fpm

##
# The PHPUnit version to use when running tests.
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
# The PHP container.
##
php:
image: wordpressdevelop/php:${LOCAL_PHP-latest}
image: wordpressdevelop/php:${LOCAL_PHP-7.4-fpm}

networks:
- wpdevnet
Expand Down Expand Up @@ -62,7 +62,7 @@ services:
# The MySQL container.
##
mysql:
image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest}
image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-5.7}
platform: linux/amd64

networks:
Expand Down Expand Up @@ -121,7 +121,7 @@ services:
# The PHPUnit container.
##
phpunit:
image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-latest}
image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-7.4-fpm}

networks:
- wpdevnet
Expand Down

0 comments on commit 782a0ae

Please sign in to comment.