-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Dockerfile] Switch to wolfi/glibc based image #4261
base: master
Are you sure you want to change the base?
Conversation
Wolfi is glibc based and ejabberd performs significantly better with glibc compared to musl-libc. Also the resource usage is much better.
Great! I've added commits that solve workflow run, tarball download, and use same stable Erlang version than the nbinary installers. See this branch: https://github.com/badlop/ejabberd/commits/wolfi/ Now the workflow runs, the container image is generated, and looks great at least with some basic manual testing
And a client can login |
Cool, the only thing which will not work is the specification of the So you would need to set |
Hello ejabberd team,
@badlop as discussed some time ago, during a simple
processone/rtb
test with the Alpine/musl-libc based container image, I ran into issues when spawning 5-10k users on the container. After digging arround and spending some time, what effectively solved all issues was just using a glibc based variant and the container became well performing.Switching to the proposed wolfi/os image has the following qualities:
Additionally, the github workflows could drop the binary builds for
musl-libc
which have been the work-around also for the QEMU bug blocking buildingarm64
variants.Therefore, this PR includes:
wolfi
instead ofAlpine
package
imagesI was not yet able to test the workflows, maybe need to do some fine tuning here when they have been triggered.
Thanks and until soon!
Saarko