From 82dbf430838cf0e925b0a6499c337ec5500e5fe9 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Tue, 28 May 2019 17:00:33 +0200 Subject: [PATCH] [IMP] runbot: add es-check tool to the Docker image In order to use the new test odoo/odoo#33724 the es-check tool is needed in the Docker runbot image. --- runbot/data/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runbot/data/Dockerfile b/runbot/data/Dockerfile index ff0108e0..29377f28 100644 --- a/runbot/data/Dockerfile +++ b/runbot/data/Dockerfile @@ -56,10 +56,14 @@ RUN curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add RUN npm install -g rtlcss +# Install es-check tool +RUN npm install -g es-check + # Install Odoo Debian dependencies ADD https://raw.githubusercontent.com/odoo/odoo/10.0/debian/control /tmp/p2-control ADD https://raw.githubusercontent.com/odoo/odoo/master/debian/control /tmp/p3-control RUN pip install -U setuptools wheel \ + && apt-get update \ && sed -n '/^Depends:/,/^[A-Z]/p' /tmp/p2-control /tmp/p3-control | awk '/^ [a-z]/ { gsub(/,/,"") ; print }' | sort -u | sed 's/python-imaging/python-pil/'| sed 's/python-pypdf/python-pypdf2/' | DEBIAN_FRONTEND=noninteractive xargs apt-get install -y -qq \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*