Hey All,
I have been using Phoenix with Elixir 1.4.1-1 in debian docker container. However recently, I’m unable to build the docker.
Here is the stacktrace
RUN mix local.hex --force && mix local.rebar --force && apt-get autoclean
---> Running in db42c666e095
** (Protocol.UndefinedError) protocol Enumerable not implemented for nil
(elixir) lib/enum.ex:1: Enumerable.impl_for!/1
(elixir) lib/enum.ex:116: Enumerable.reduce/3
(elixir) lib/enum.ex:1776: Enum.reduce/3
(elixir) lib/uri.ex:434: URI.nillify/1
(elixir) lib/uri.ex:405: URI.parse/1
(mix) lib/mix/utils.ex:467: Mix.Utils.url?/1
(mix) lib/mix/utils.ex:375: Mix.Utils.read_path/2
(mix) lib/mix/local.ex:139: Mix.Local.read_path!/2
Here is the docker file
https://github.com/manju16832003/phoenix-libcluster/blob/kubernetes/Dockerfile
is Elixir 1.4.1-1 is no longer compatible with Erlang OTP 20?
Similar issue found here, but it wasn’t helpful
https://github.com/hexpm/hex/issues/385