From f47de21dbbbadbfa525fc0b54f5aba7575077c86 Mon Sep 17 00:00:00 2001 From: Pedro Salgado Date: Fri, 30 Dec 2016 15:39:58 -0700 Subject: [PATCH] 8.0/Dockerfile: split into base/Dockerfile and Dockerfile.release. --- 8.0/{Dockerfile => Dockerfile.release} | 0 8.0/base/Dockerfile | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+) rename 8.0/{Dockerfile => Dockerfile.release} (100%) create mode 100644 8.0/base/Dockerfile diff --git a/8.0/Dockerfile b/8.0/Dockerfile.release similarity index 100% rename from 8.0/Dockerfile rename to 8.0/Dockerfile.release diff --git a/8.0/base/Dockerfile b/8.0/base/Dockerfile new file mode 100644 index 0000000..aeec0f5 --- /dev/null +++ b/8.0/base/Dockerfile @@ -0,0 +1,26 @@ +FROM debian:jessie +MAINTAINER Odoo S.A. + +ENV WKHTMLTOX_SHA1SUM 40e8b906de658a2221b15e4e8cd82565a47d7ee8 +ENV WKHTMLTOX_VERSION 0.12.1.2 + +# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf +RUN set -x; \ + apt-get update \ + && apt-get install -y --no-install-recommends \ + ca-certificates \ + curl \ + node-less \ + node-clean-css \ + python-gevent \ + python-pip \ + 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 - \ + && 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