-
Notifications
You must be signed in to change notification settings - Fork 425
DL3028
José Lorenzo Rodríguez edited this page Jun 21, 2019
·
1 revision
FROM ruby:2
RUN gem install bundler
FROM ruby:2
RUN gem install bundler:1.1
https://docs.docker.com/engine/articles/dockerfile_best-practices/
Version pinning forces the build to retrieve a particular version regardless of what’s in the cache. This technique can also reduce failures due to unanticipated changes in required packages.