trenpixster / elixir-dockerfile

Dockerfile for creating a docker image of the latest Elixir and Erlang OTP versions
147 stars 49 forks source link

Force aptitude to fetch Erlang 18 #16

Closed rafaqueque closed 8 years ago

rafaqueque commented 8 years ago

Elixir 1.3 still has some problems here and there when compiling with Erlang 19. To make sure we don't break any development machines, it's a good idea to pin the 18 version. Some other libraries are not compatible yet.

trenpixster commented 8 years ago

Thank you! 👍

dantswain commented 8 years ago

What issues are there with Elixir 1.3 and OTP 18?

This change actually broke things for me. There seems to be a problem with hex and OTP 18. This is reproducible for me:

git clone git@github.com:phoenixframework/phoenix.git
cd phoenix
docker run --rm -v ${PWD}:/phoenix -w /phoenix trenpixster/elixir:1.3.2 mix deps.get

It pulls the first dependency and then just hangs.

In the short term it would be great if you could revert this image to one that people have been depending on to work. As a longer-term fix maybe you could publish two images - 1.3.2-otp19 and 1.3.2-otp18 and then make 1.3.2 be otp 19 by default?