Run `bundle install` with 4 jobs.

Run bundle install with 4 jobs.

diff --git a/image/base/Dockerfile b/image/base/Dockerfile
index 6e82084..c667f91 100644
--- a/image/base/Dockerfile
+++ b/image/base/Dockerfile
@@ -139,6 +139,6 @@ RUN useradd discourse -s /bin/bash -m -U &&\
     chown -R discourse:discourse /var/www/discourse &&\
     cd /var/www/discourse &&\
     sudo -u discourse bundle install --deployment \
-         --without test --without development &&\
+         --without test --without development --jobs=4 &&\
     bundle exec rake maxminddb:get &&\
     find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} +
diff --git a/image/discourse_test/Dockerfile b/image/discourse_test/Dockerfile
index 93777ac..fa64531 100644
--- a/image/discourse_test/Dockerfile
+++ b/image/discourse_test/Dockerfile
@@ -14,7 +14,7 @@ RUN gem update bundler --force &&\
       chown -R discourse . &&\
       rm -fr .bundle &&\
       sudo -u discourse git pull &&\
-      sudo -u discourse bundle install --standalone &&\
+      sudo -u discourse bundle install --standalone --jobs=4 &&\
       chown -R discourse /var/run/postgresql
 
 RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - &&\

GitHub sha: 7087639f

1 Like