erlang / docker-erlang-otp

the Official Erlang OTP image on Docker Hub

Home Page:https://hub.docker.com/_/erlang/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Debian 11 based images for building new Erlang 24

kpy3 opened this issue Β· comments

Since Debian 11 has been released and new docker images are ready, it seems images for new Erlang releases can be upgraded to new release.

Please upgrade base images for Erlang to new Debian 11. πŸ™

It is usually updated after the new debian is released one month or two later, because there are quite a lot images are based on the old debian release.

please don't do that. Debian 11 contains Linux 5.10. When Erlang is build against the new kernel headers that come with that, the resulting Erlang binaries will have broken SCTP support when running on older kernels (same issue as the Alpine images have, see #332)

We opened a bug already regarding this some time ago:

https://bugs.erlang.org/browse/ERL-1207

For the poor souls hitting the same issue, this is the OTP 24.1.2 updated patch and the Dockerfile (alpine) making use of it:

SCTP_fix_OTP 24.1.2.zip

For the poor souls hitting the same issue, this is the OTP 24.1.2 updated patch and the Dockerfile (alpine) making use of it

Some time ago also was provided a fix SCTP issue by @RoadRunnr for it and published images to https://quay.io/repository/travelping/alpine-erlang.

Have folks kicked the tires on this upgrade? I am not a Docker pro but since this went live, I'm consistently getting errors launching erlang with the new erlang:24 image of the sort

lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /app/erts-12.2/bin/beam.smp)

AFAICT the 23 image does not have this issue.