Skip to content

Commit

Permalink
retire alpine workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Apr 17, 2024
1 parent 182d759 commit a7007d6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/generators/templates/Dockerfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ 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 -%>
Expand Down

0 comments on commit a7007d6

Please sign in to comment.