lib/generators/templates/Dockerfile.erb in dockerfile-rails-1.6.8 vs lib/generators/templates/Dockerfile.erb in dockerfile-rails-1.6.9

- old
+ new

@@ -85,20 +85,14 @@ ENV <%= build_env.join(" \\\n ") %> <% end -%> # Install application gems COPY<% if options.link? %> --link<% end %> Gemfile Gemfile.lock <% if references_ruby_version_file? %>.ruby-version <% end %>./ -<% if options.alpine? and deploy_packages.include? 'sqlite-libs' -%> -# Workaround sqlite/alpine issue: https://github.com/sparklemotion/sqlite3-ruby/issues/434 -RUN bundle config force_ruby_platform true && \ - bundle config set frozen false && \ - bundle lock --add-platform ruby -<% end -%> <% if options.cache? -%> RUN --mount=type=cache,id=bld-gem-cache,sharing=locked,target=/srv/vendor \ <% if private_gemserver_env_variable_name -%> - --mount=type=secret,id=gemserver_credentials,dst=/kaniko/gemserver_credentials \ + --mount=type=secret,id=gemserver_credentials,target=/kaniko/gemserver_credentials \ <%= private_gemserver_env_variable_name %>="$(cat /kaniko/gemserver_credentials)" && \ export <%= private_gemserver_env_variable_name %> && \ <% end -%> bundle config set app_config .bundle && \ bundle config set path /srv/vendor && \ @@ -111,10 +105,10 @@ bundle config set path vendor && \ cp -ar /srv/vendor . <% else -%> <% if private_gemserver_env_variable_name -%> -RUN --mount=type=secret,id=gemserver_credentials,dst=/kaniko/gemserver_credentials \ +RUN --mount=type=secret,id=gemserver_credentials,target=/kaniko/gemserver_credentials \ <%= private_gemserver_env_variable_name %>="$(cat /kaniko/gemserver_credentials)" && \ export <%= private_gemserver_env_variable_name %> && \ bundle install<% if depend_on_bootsnap? && options.precompile != "defer" -%> && \ bundle exec bootsnap precompile --gemfile<% end %> && \ <% else -%>