Add missing --no-install-recommends to apt-get install commands

This commit is contained in:
Mike Dillon 2015-03-07 21:42:30 -08:00
parent 9228300c52
commit 077d70f717

View File

@ -4,7 +4,7 @@ MAINTAINER Odoo S.A. <info@odoo.com>
# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf # Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
RUN set -x; \ RUN set -x; \
apt-get update \ apt-get update \
&& apt-get install -y \ && apt-get install -y --no-install-recommends \
adduser \ adduser \
ca-certificates \ ca-certificates \
curl \ curl \
@ -16,7 +16,7 @@ RUN set -x; \
&& curl -o wkhtmltox.deb -SL http://nightly.odoo.com/extra/wkhtmltox-0.12.1.2_linux-jessie-amd64.deb \ && curl -o wkhtmltox.deb -SL http://nightly.odoo.com/extra/wkhtmltox-0.12.1.2_linux-jessie-amd64.deb \
&& echo '40e8b906de658a2221b15e4e8cd82565a47d7ee8 wkhtmltox.deb' | sha1sum -c - \ && echo '40e8b906de658a2221b15e4e8cd82565a47d7ee8 wkhtmltox.deb' | sha1sum -c - \
&& dpkg --force-depends -i wkhtmltox.deb \ && dpkg --force-depends -i wkhtmltox.deb \
&& apt-get -y install -f \ && apt-get -y install -f --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb && rm -rf /var/lib/apt/lists/* wkhtmltox.deb
# Install Odoo # Install Odoo