Changeset 59484
- Timestamp:
- 12/04/2024 03:16:02 PM (7 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/reusable-phpunit-tests-v3.yml
r59354 r59484 172 172 - name: WordPress Docker container debug information 173 173 run: | 174 docker compose run --rm mysql ${{ env.LOCAL_DB_TYPE }} --version174 docker compose run --rm mysql ${{ env.LOCAL_DB_TYPE == 'mariadb' && contains( fromJSON('["5.5", "10.0", "10.1", "10.2", "10.3"]'), env.LOCAL_DB_VERSION ) && 'mysql' || env.LOCAL_DB_TYPE }} --version 175 175 docker compose run --rm php php --version 176 176 docker compose run --rm php php -m -
trunk/README.md
r59405 r59484 140 140 ``` 141 141 142 ### Apple Silicon machines and old MySQL versions142 ### Apple Silicon machines and old MySQL/MariaDB versions 143 143 144 The MySQL Docker images do not support Apple Silicon processors (M1, M2, etc.) for MySQL versions 5.7 and earlier. 144 Older MySQL and MariaDB Docker images do not support Apple Silicon processors (M1, M2, etc.). This is true for: 145 145 146 When using MySQL <= 5.7 on an Apple Silicon machine, you must create a `docker-compose.override.yml` file with the following contents: 146 - MySQL versions 5.7 and earlier 147 - MariaDB 5.5 148 149 When using these versions on an Apple Silicon machine, you must create a `docker-compose.override.yml` file with the following contents: 147 150 148 151 ``` -
trunk/docker-compose.yml
r59279 r59484 83 83 84 84 healthcheck: 85 test: [ "CMD-SHELL", "if [ \"$LOCAL_DB_TYPE\" = \"mariadb\" ]; then mariadb-admin ping -h localhost; else mysqladmin ping -h localhost; fi" ]85 test: [ "CMD-SHELL", "if [ \"$LOCAL_DB_TYPE\" = \"mariadb\" ]; then case \"$LOCAL_DB_VERSION\" in 5.5|10.0|10.1|10.2|10.3) mysqladmin ping -h localhost || exit $?;; *) mariadb-admin ping -h localhost || exit $?;; esac; else mysqladmin ping -h localhost || exit $?; fi" ] 86 86 timeout: 5s 87 87 interval: 5s
Note: See TracChangeset
for help on using the changeset viewer.