Hacker News new | ask | show | jobs
by losvedir 1862 days ago
I highly recommend using the hexpm docker images, which you specify with elixir, erlang, and distro versions, e.g. hexpm/elixir1.12-erlang24.0-debian-buster.

Since the official Elixir versions aren't pinned to a version of Erlang, we had issues where either Erlang or the distro should change out from under us. But not with the hexpm ones.

3 comments

I second this - it is the best solution if one wants to decouple upgrades of Elixir vs OTP, and is really useful for long term upgrades (one step at a time).
Only issue here is that they don't do subpatch versions. We needed Erlang 22.3.4.1 for something, so had to build by hand.
Ooooh that didn't used to be true, from what I saw! Happy that changed. I can clean up a bunch of images on my side.
Thanks, I'll look into it.

edit: so far so good.