This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
Failure to copy mysql files when running in alpine-linux docker container #141
Comments
I wonder what Interesting experiment would be to check if wix-embedded-mysql build itself works on alpine. Is it hard to for you to check? Also setting logback config to would give more info on what is happening before failure. |
I am experiencing the same issues. Did you find a way to fix this? |
Same issue for me. |
Installing
However, MySQL is in fact not supported and broken on Alpine, so you should consider migrating to MariaDBj4 instead. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Our build using wix-embedded-mysql currently fails when attempting to run it in a docker container based on alpine. Apparently the extracted mysql files are not being copied to the target directory:
Failures (6): JUnit Jupiter:FraudCheckControllerIntegrationTest ClassSource [className = '<redacted test class>', filePosition = null] => java.lang.RuntimeException: java.io.IOException: Cannot run program "/<workdir>/target/mysql-5.7-a7da90e3-dadb-4dc9-9aa0-7916c935ff6a/bin/mysqld": error=2, No such file or directory com.wix.mysql.EmbeddedMysql.<init>(EmbeddedMysql.java:51) com.wix.mysql.EmbeddedMysql$Builder.start(EmbeddedMysql.java:155)
The downloaded and extracted files are present however under ~/.embedmysql/extracted/Linux-B64--/MySQL-5.7/mysql-5.7.19-linux-glibc2.12 so that part seems to work fine. There are also no errors visible before the "No such file or directory".
I assume there is some missing regarding the underlying OS, since I can run the build no problem in a docker container based on debian for example, which is not an option for us however.
Is there any way I can get more information why this copying fails, or does anybody know how to resolve this?
The text was updated successfully, but these errors were encountered: