docker-odoo/9.0/base/Dockerfile

27 lines
1.0 KiB
Docker
Raw Normal View History

2015-10-08 05:21:13 -04:00
FROM debian:jessie
MAINTAINER Odoo S.A. <info@odoo.com>
ENV WKHTMLTOX_SHA1SUM 40e8b906de658a2221b15e4e8cd82565a47d7ee8
ENV WKHTMLTOX_VERSION 0.12.1.2
# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
2015-10-08 05:21:13 -04:00
RUN set -x; \
apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
node-less \
python-gevent \
python-pip \
2015-10-08 05:21:13 -04:00
python-pyinotify \
python-renderpm \
python-support \
&& curl -o wkhtmltox.deb -SL "http://nightly.odoo.com/extra/wkhtmltox-${WKHTMLTOX_VERSION}_linux-jessie-amd64.deb" \
&& echo "${WKHTMLTOX_SHA1SUM} wkhtmltox.deb" | sha1sum -c - \
2015-10-08 05:21:13 -04:00
&& dpkg --force-depends -i wkhtmltox.deb \
&& 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 \
&& pip install psycogreen==1.0