gitlab-ci-pipeline-php
gitlab-ci-pipeline-php copied to clipboard
Switch to mysql-client
Add MySQL's key and repo and use it to install mysql-client in place of mariadb-client, should fix #117.
I have no idea how to test this, but I've tested the individual commands.
Thanks @Synchro
Can you take a look on the alpine images as well? Thanks.
That's not quite so easy. Alpine doesn't have a MySQL package, or rather it does, but it actually installs MariaDB. It seems that MySQL itself contains support for Alpine, but Alpine does not in turn provide a packaged version of it. There is an open request to add a real MySQL package to Alpine, but it's not getting much love, so I commented on it to try to push things along.
Any chance of merging this? All projects on gitlab using Laravel 8 schema dumps will be breaking because of this issue. What's here won't fix Alpine, but it will at least fix Debian, which I expect is the majority.
This would be very useful for us, we recently updated our system to mysql 8 and it would be nice to be able to have the same version running ok for gitlab
For anyone running into this, I solved this by simply switching to a different image, no other changes required, and it just works:
image: lorisleiva/laravel-docker:8.0