From e62047fbaf72bca3d6eb7f0bda502b63a5c4161c Mon Sep 17 00:00:00 2001 From: Edward Anderson Date: Mon, 24 Jul 2017 21:24:07 -0400 Subject: [PATCH] Take advantage of bundler's parallelism 20 jobs is somewhat arbitrary. Parallelism need not be limited to the number of logical cores. Because installing gems is such an IO-intensive task, generally not CPU-bound, we can typically see big speed wins by starting many at once. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4e74819c0b..e90874718b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - && \ WORKDIR /exercism COPY Gemfile Gemfile.lock /exercism/ -RUN bundle install +RUN bundle install --jobs=20