Sha256: 8393bcccfbbeed45f48df691e0c344a274ed61f26d1b5a4ac1a2497b54d0098d

Contents?: true

Size: 818 Bytes

Versions: 44

Compression:

Stored size: 818 Bytes

Contents

<% if options.cache? -%>
RUN --mount=type=cache,id=dev-apt-cache,sharing=locked,target=/var/cache/apt \
    --mount=type=cache,id=dev-apt-lib,sharing=locked,target=/var/lib/apt \
    <%= repos %>apt-get update -qq && \
    apt-get install --no-install-recommends -y <%= packages.join(" ") %>
<% else -%>
RUN <%= repos %>apt-get update -qq && \
    apt-get install --no-install-recommends -y <%= packages.join(" ") %><% if clean %> && \
    rm -rf /var/lib/apt/lists /var/cache/apt/archives<% 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

44 entries across 44 versions & 1 rubygems

Version Path
dockerfile-rails-1.5.14 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.12 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.11 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.10 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.9 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.8 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.7 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.6 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.5 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.4 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.3 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.2 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.1 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.5.0 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.4.2 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.4.1 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.4.0 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.3.0 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.2.5 lib/generators/templates/_apt_install.erb
dockerfile-rails-1.2.3 lib/generators/templates/_apt_install.erb