FROM ruby:<%= version %>

<%= include_file "debian-prelude.step" %>

<% if version >= "3.2" && version < "3.4" -%>
<%= include_file "valgrind-from-source.step" %>
<% else -%>
<%= include_file "debian-valgrind.step" %>
<% end -%>

<%= include_file "debian-libxml-et-al.step" %>

<%= include_file "update-bundler.step" %>

<%= include_file "bundle-install.step" %>
