diff --git a/packages/env/CHANGELOG.md b/packages/env/CHANGELOG.md index ca7d77adfe7bf..502b7e43bd206 100644 --- a/packages/env/CHANGELOG.md +++ b/packages/env/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Bug fix + +- Fix `mariadb` version to LTS [#59237](https://github.com/WordPress/gutenberg/pull/59237) + ## 9.3.0 (2024-02-09) ## 9.2.0 (2024-01-24) diff --git a/packages/env/lib/build-docker-compose-config.js b/packages/env/lib/build-docker-compose-config.js index 5336f8690cca8..1794f7217ff94 100644 --- a/packages/env/lib/build-docker-compose-config.js +++ b/packages/env/lib/build-docker-compose-config.js @@ -172,7 +172,7 @@ module.exports = function buildDockerComposeConfig( config ) { version: '3.7', services: { mysql: { - image: 'mariadb', + image: 'mariadb:lts', ports: [ '3306' ], environment: { MYSQL_ROOT_HOST: '%', @@ -183,7 +183,7 @@ module.exports = function buildDockerComposeConfig( config ) { volumes: [ 'mysql:/var/lib/mysql' ], }, 'tests-mysql': { - image: 'mariadb', + image: 'mariadb:lts', ports: [ '3306' ], environment: { MYSQL_ROOT_HOST: '%',