Sha256: 395403452414e30c80e6ce86f9491d75f8d128cfccdd8152b5e185f46eb8d139

Contents?: true

Size: 797 Bytes

Versions: 1

Compression:

Stored size: 797 Bytes

Contents

<% if options.cache? -%>
RUN <%= pkg_cache.map {|name, path| "--mount=type=cache,id=#{name},sharing=locked,target=#{path} \\"}.join("\n    ") %>
    <%= repos %><%= pkg_update %> && \
    <%= pkg_install %> <%= packages.join(" ") %>
<% elsif options.alpine? && clean -%>
RUN apk add --no-cache <%= packages.join(" ") %>
<% else -%>
RUN <%= repos %><%= pkg_update %> && \
    <%= pkg_install %> <%= packages.join(" ") %><% if clean %> && \
    rm -rf <%= pkg_cleanup %><% end %>
<% end -%>
<% if @sqlserver -%>
 # install freetds required by tiny_tds gem
 RUN wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.3.16.tar.gz && \
 		tar -xzf freetds-1.3.16.tar.gz && \
 		cd freetds-1.3.16 && \
 		./configure --prefix=/usr/local --with-tdsver=7.3 && \
 		make && \
 		make install
 <% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dockerfile-rails-1.7.3 lib/generators/templates/_apt_install.erb