Please consider mix-edib (edib-tool) instead.
Docker image for pure Erlang/Elixir projects build on a minimal Alpine Linux (base: gliderlabs/alpine)
More info about the base: https://github.com/gliderlabs/docker-alpine
pure means that the
build-base package (GCC + some libraries) is removed.
Therefore no Erlang or Elixir packages which require C code compilation (i.e. NIFs) are supported.
Of course you can follow the same approach like here and use a build script which adds the package, builds your project and then remove the package again to reduce the unnecessary cruft (the compiler is not needed in runtime).