Hi all I’m building the alpine-elixir Docker image at: https://github.com/bitwalker/alpine-elixir
on a Digital Ocean Ubuntu 19.10 vps:
uname -a
Linux edge-faithful-word 5.3.0-42-generic #34-Ubuntu SMP Fri Feb 28 05:49:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
I simply cloned the repo and I build the image with:
docker build -t alpelixir .
and it will fail when compiling elixir in the Elixir.String.Unicode.beam
module:
make[1]: Entering directory '/tmp/elixir-build/elixir'
==> unicode (compile)
make[1]: Leaving directory '/tmp/elixir-build/elixir'
make[1]: *** [Makefile:105: lib/elixir/ebin/Elixir.String.Unicode.beam] Killed
make: *** [Makefile:90: lib/elixir/ebin/Elixir.Kernel.beam] Error 2
The command '/bin/sh -c apk --no-cache --update upgrade && apk add --no-cache --update --virtual .elixir-build make && apk add --no-cache --update git && git clone https://github.com/elixir-lang/elixir --depth 1 --branch $ELIXIR_VERSION && cd elixir && make && make install && mix local.hex --force && mix local.rebar --force && cd $HOME && rm -rf /tmp/elixir-build && apk del --no-cache .elixir-build' returned a non-zero code: 2
This seems pretty odd to me as I would think this process is fairly battle-tested.
Any ideas on what may be the cause? Perhaps a missing dependency?
I should mention that I could build the image on my development mac book pro with no issues(latest Docker, version 2.2.05).