Is there a Dockerfile for elixir 1.5?

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

How can I get a Dockerfile that will work for me?

Thanks.

It seems like it’s not yet available.

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/

1 Like

Thanks what do I put in the “FROM” line to use this image?

All you need is FROM bitwalker/alpine-elixir:1.5.0 :slight_smile:

6 Likes

Shameless self plug: I also host an elixir image: https://hub.docker.com/r/leifg/elixir/tags/

Including 1.5.1 and edge version (latest master of erlang and elixir).

2 Likes

The official Docker images have alpine versions too don’t they?

@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.

https://hub.docker.com/r/aeons/elixir/

1 Like