[Dockerfile] Switch to wolfi/glibc based image#4261
[Dockerfile] Switch to wolfi/glibc based image#4261sando38 wants to merge 6 commits intoprocessone:masterfrom
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/rtbtest 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-libcwhich have been the work-around also for the QEMU bug blocking buildingarm64variants.Therefore, this PR includes:
wolfiinstead ofAlpinepackageimagesI 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