Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve bundle install in Docker build #3596

Merged
merged 2 commits into from
Jul 25, 2017
Merged

Conversation

nilbus
Copy link

@nilbus nilbus commented Jul 25, 2017

A couple improvements on the base Docker image build:

  • Install the version of bundler specified in Gemfile.lock
  • Take advantage of bundler's parallelism

nilbus added 2 commits July 24, 2017 21:24
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.
@kytrinyx kytrinyx merged commit 6fac0ba into exercism:master Jul 25, 2017
@kytrinyx
Copy link
Member

Sweet, thanks!

@nilbus nilbus deleted the docker-bundler branch July 25, 2017 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants