-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move away from Alpine as container base #49
Comments
A WIP container that passes tests locally is available here for testing. Any feedback much appreciated! Check it out by pulling $ docker run -it -e SKIP_INNODB=1 jbergstroem/mariadb-alpine:test-rawhide-glibc
2020-09-27 14:28:07 0 [Note] /bin/mysqld (mysqld 10.4.14-MariaDB) starting as process 1 ...
2020-09-27 14:28:07 0 [Note] Plugin 'InnoDB' is disabled.
2020-09-27 14:28:07 0 [Note] Plugin 'unix_socket' is disabled.
2020-09-27 14:28:08 0 [Note] Server socket created on IP: '::'.
2020-09-27 14:28:08 0 [Note] Reading of all Master_info entries succeeded
2020-09-27 14:28:08 0 [Note] Added new Master_info '' to hash table
2020-09-27 14:28:08 0 [Note] /bin/mysqld: ready for connections.
Version: '10.4.14-MariaDB' socket: '/run/mysqld/mysqld.sock' port: 3306 MariaDB Server Few tidbits:
|
@jbergstroem Any link to details? |
Thanks. Databases on CoW (copy on write) systems should be handled with care generally. I'm using btrfs on my host and prepared an empty directory for mariadb's data files with |
Want to open a PR? 😄
Since we're talking in this issue; would you have issues with switching to a glibc-based host? Seeing how the bug is fixed upstream now (it lacked attention for a long time which is why I opened this) its less important from a bug perspective, but the amount of work I put into shaping the new container actually makes it both more optimized, more rigid to version updates (and what files to bundle) and likely more performant due to glibc. |
Maybe :-D
I just hope you don't end on maintaining a full grown base image like ubuntu. PR for README will come soon. |
The goal of this repository/project is to create the smallest-yet-fully-functional oci image possible. |
Going to close this since the bug is fixed in newer versions of MariaDB and we still want to lean on Alpine to achieve multi-arch support (arm, ..). |
Seeing how Alpine and MariaDB are having longstanding issues that doesn't seem to find a resolution anytime soon, using another base while achieving a similarly minimal size would be a good next step.
I am currently building MariaDB from scratch in fedora:rawhide and will do a PR shortly that hopefully passes tests.
The text was updated successfully, but these errors were encountered: