SBT: Slow resolution and failures when doing builds within Docker containers SBT: Slow resolution and failures when doing builds within Docker containers docker docker

SBT: Slow resolution and failures when doing builds within Docker containers


Mounting the .ivy2 and .sbt directories in the container increased the compiling speed significantly:

-v ~/.sbt:/root/.sbt -v ~/.ivy2:/root/.ivy2