lib/generators/templates/_apt_install.erb in dockerfile-rails-1.0.0 vs lib/generators/templates/_apt_install.erb in dockerfile-rails-1.0.1
- old
+ new
@@ -1,12 +1,12 @@
<% 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 \
- apt-get update -qq && \
+ <%= repos %>apt-get update -qq && \
apt-get install --no-install-recommends -y <%= packages.join(" ") %>
<% else -%>
-RUN apt-get update -qq && \
+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
@@ -15,6 +15,6 @@
cd freetds-1.3.16 && \
./configure --prefix=/usr/local --with-tdsver=7.3 && \
make && \
make install
<% end -%>
-
\ No newline at end of file
+