7 ms·
Some rough numbers: bundle install has gone from ~50s to 3s for my Jekyll + s3_website setup. The overall build has dropped from ~120s to 45s thanks to that and
by aseidl 12y ago
Some rough numbers: bundle install has gone from ~50s to 3s for my Jekyll + s3_website setup. The overall build has dropped from ~120s to 45s thanks to that and using a cached version of Ruby.
One gotcha for anyone with a similar setup: make sure Jekyll's _config.yml is set to exclude/ignore the vendor directory. Oops.
- rb2k_ 12y agoAre you sure those speedups are docker related, those sound like they're bundler/caching related? ( as in http://docs.travis-ci.com/user/caching/ http://docs.travis-ci.com/user/caching/ )
- aseidl 12y agoCorrect, the speedups are directly due to bundle caching (which previously had only been available for private/paid repos). Indirectly, I would assume this caching is now implemented via Docker's use of filesystem layers.