Merge pull request #11 from md5/slimmer-image

Slimmer image
This commit is contained in:
aab-odoo 2015-04-01 11:47:23 +02:00
commit d0cbb42296

View File

@ -4,10 +4,10 @@ MAINTAINER Odoo S.A. <info@odoo.com>
# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
RUN set -x; \
apt-get update \
&& apt-get install -y \
adduser \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
nodejs \
npm \
python-support \
python-pyinotify \
@ -16,7 +16,8 @@ RUN set -x; \
&& 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 - \
&& dpkg --force-depends -i wkhtmltox.deb \
&& apt-get -y install -f \
&& apt-get -y install -f --no-install-recommends \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false npm \
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb
# Install Odoo