I have just upgraded my app to use Elixir 1.5 and now I am trying to deploy it. We deploy using convox V2 (known as praxis) and this requires a Dockerfile at the project root. Currently the first line of my Dockerfile is:
FROM elixir:1.4.4
However, since my mix.exs file specifies elixir 1.5.0, I would also like to use a 1.5.0 Dockerfile. However, just changing the first line of my Dockerfile to:
FROM elixir:1.5.0
is not working for me. I get the error: manifest for elixir:1.5.0 not found
However, you might not want to use the official Elixir docker image since it is based on Ubuntu and so you have a huge image for deployment.
Check out @bitwalker’s alpine-elixir image which is also available for 1.5.0: https://hub.docker.com/r/bitwalker/alpine-elixir/tags/
@msaraiva used to maintain alpine-based Erlang and Elixir images. It now seems abandoned, but @aeons made a fork that keeps it up-to-date. The latest one has 1.5.0.