Building Elm-Applications is incredibly slow in CircleCI containers

I’ve developed an application using the Elm-Programming language (http://elm-lang.org/). Locally compiling this application to JavaScript only takes a few seconds, but running the compiler inside a CircleCI container takes between 10 and 20 Minutes, often resulting in a timeout. What can I do to help resolve this issue?

This issue comes up with Travis as well on the normal stack (12.04 I think), changing to Trusty (14.04) improves performance a lot.

The problem is the elm compiler detecting too many CPU cores. A workaround is in the issue: https://github.com/elm-lang/elm-compiler/issues/1473

1 Like