Getting wierd failures on a docker build today. Not sure if this is rebar3 issue or some connectivity issue to hex.pm as I can build the project fine from my local but fails in Hetzner. It is docker build so everything is generated in a container ** (Mix) Could not compile dependency :idna, "/root/.mix/rebar3 bare compile --paths="/src/ultronex/_build/prod/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile idna", update it with "mix deps.update idna" or clean it with "mix deps.clean idna"
** (Mix) Could not compile dependency :mimerl, "/root/.mix/rebar3 bare compile --paths="/src/ultronex/_build/prod/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile mimerl", update it with "mix deps.update mimerl" or clean it with "mix deps.clean mimerl"
Just a quick note for anyone coming into this thread late (like me). In the linked issue, there’s a recommendation to add a swap space. I did this on a Digitalocean droplet and it solved this issue.