docs icon indicating copy to clipboard operation
docs copied to clipboard

Update elixir to link to alternative and similarly official images

Open adamu opened this issue 3 years ago • 1 comments

The official Elixir docker image is maintained by the Erlang Ecosystem Foundation, but there are alternative images maintained by Hex, Elixir's official package manager.

There are a number of issues with the official image at the moment:

  • Updated manually, so there is a few days delay between a new release, and image availability. E.g. see this elixir forum post.
  • Issues with breaking changes for existing tags. Here are some examples of issues reported:
    • https://github.com/erlef/docker-elixir/issues/41
    • https://github.com/erlef/docker-elixir/issues/50
    • https://github.com/erlef/docker-elixir/issues/23

The images produced by Hex do not have these issues because they are built automatically whenever there is a new version and the tags are immutable - if a user wants to update a dependency, they need to update the relevant tag.

Because of this image's offical status, many users are unaware of the alternative option, which for Elixir deployments can often be the preferred choice, and is the one recommended by the Phoenix framework. This PR breifly mentions the issue about breaking changes, and links to the hexpm images so people have the information to choose the solution that works best for them.

I also updated the get-help section to link to the Elixir repository wiki, which has a maintained list of help resources.

adamu avatar Sep 23 '22 05:09 adamu

Good call 👍

josevalim avatar Sep 23 '22 07:09 josevalim