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
Mounting the .ivy2
and .sbt
directories in the container increased the compiling speed significantly:
-v ~/.sbt:/root/.sbt -v ~/.ivy2:/root/.ivy2