Just a quick heads up: There seems to be abug in Erlang/OTP 21.3, which can cause some errors when making http requests. If you’re using the official Elixir images that use Erlang/OTP 21 it might affect your app, because they got rebuilt with the latest version that contains the bug.
The quickest workaround is to instead of using FROM elixir:1.7.4 in your Dockerfile, replicate the elixir image layer and point it to an earlier image, for example 21.2.7:
This is part of why treating specific Docker image tags as mutable is so dangerous. When I’m in front of a computer I can check if I still have the correct SHA256 image checksums for the prior version that used OTP 21.2.x, because I pin them in my FROM lines after experiences similar to this.
This syntax is compatible with, among others, docker pull, docker run, FROM in a Dockerfile, and Kubernetes manifests. The checksum is output whenever you pull an image via the normal docker pull CLI, and is also available after the fact via docker inspect $imageID under the RepoDigests key.
You can bulk check your image tags and digests like this, which may catch historical copies that were untagged by a subsequent pull:
Looks like OTP 21.3.1 was released but I can’t find release notes aside from the ones saying the ssl app was changed. I might be blind though
Judging from the commit log though, this was fixed? Has somebody tried their luck with 21.3.1?
$ git log --oneline OTP-21.3..OTP-21.3.1
a4f71b669a (tag: OTP-21.3.1, origin/maint-21) Updated OTP version
48eedeb93d Prepare release
18940986f9 Merge branch 'ingela/ssl/recv-timeout-bug/ERL-884/ERL-883/OTP-14701' into maint-21
7b4f3319aa Merge branch 'ingela/ssl/transport-transparance/ERL-861/OTP-15679' into maint-21
d4266651c5 Merge branch 'rickard/erl_call/ERL-881/OTP-15676' into maint-21
543ca376a9 Add smoke test for erl_call
f85c6c84fa Add new api functions to ei_fake_prog
adf61f3cbf Fix timeout value when waiting for emulator start
e645b6b4a5 Fix initialization of erl_call
18e8014fe2 ssl: Cancel recv timer in all places
5a7cfb2d57 ssl: Fix transport transparancy