Docker Cache BUNDLE INSTALL not working
问题 Anybody knows how to make BUNDLE INSTALL Cache'ing work in latest DOCKER release? I've tried so far: 1. WORKDIR /tmp ADD ./Gemfile Gemfile ADD ./Gemfile.lock Gemfile.lock RUN bundle install 2. ADD . opt/railsapp/ WORKIDR opt/rails/app RUN bundle install None of them work, it still runs "BUNDE INSTALL" everytime from scratch without Gemfile being changed. Anyone knows how to make Caching for bundle install work correctly? Cheers, Andrew 回答1: Each time you change any file in your local app