Elm make fails inside alpine docker container

UPDATE

So this wasn’t an Elm issue, but here’s what worked for me in case you’re in the same boat.

On my machine running Manjaro linux, I went and changed my DNS server to be 8.8.8.8 (that’s Google’s DNS server) and now elm make works on my machine and inside a docker container.

[jwan@jwan-pc bejebeje.elm]$ elm make src/app/Main.elm --output=/dev/null
Starting downloads...
  ● elm/file 1.0.5
  ● elm/http 2.0.0
  ● elm/virtual-dom 1.0.2
  ● elm/bytes 1.0.8
  ● elm/url 1.0.0
  ● elm/html 1.0.0
  ● elm/core 1.0.4
  ● elm/json 1.1.3
  ● elm/time 1.0.0
  ● elm/browser 1.0.2
Dependencies ready!           
Success! Compiled 2 modules.

Run nslookup google.com and look out for this:

Address:        8.8.8.8#53

The bit before the # is your DNS server.

I will most likely use openDNS servers instead of Google’s, but at least it now works.

Many thanks @dmy for the help :heart:

1 Like