From a1463daf598a958d6df9680b688436bc93ddf747 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Tue, 29 Jan 2019 14:41:08 +0100 Subject: [PATCH] [FIX] Odoo 11.0-12.0: add asian fonts and rtlcss When printing a report, the asian fonts were missing. Also, since Odoo 12.0, rtlcss is needed to support the right-to-left languages in the Odoo UI. With this commit, the noto-cjk fonts are added as well as the nodejs rtlcss tool. --- 11.0/Dockerfile | 1 + 12.0/Dockerfile | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/11.0/Dockerfile b/11.0/Dockerfile index 8ba15ee..f17bcf6 100644 --- a/11.0/Dockerfile +++ b/11.0/Dockerfile @@ -10,6 +10,7 @@ RUN set -x; \ && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ + fonts-noto-cjk \ gnupg \ libssl1.0-dev \ node-less \ diff --git a/12.0/Dockerfile b/12.0/Dockerfile index 0bff965..629fd6e 100644 --- a/12.0/Dockerfile +++ b/12.0/Dockerfile @@ -10,6 +10,7 @@ RUN set -x; \ && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ + fonts-noto-cjk \ gnupg \ libssl1.0-dev \ node-less \ @@ -34,6 +35,14 @@ RUN set -x; \ && apt-get update \ && apt-get install -y postgresql-client +# Install rtlcss (on Debian stretch) +RUN set -x;\ + curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \ + && echo "deb http://deb.nodesource.com/node_8.x stretch main" > /etc/apt/sources.list.d/nodesource.list \ + && apt-get update \ + && apt-get install -y nodejs \ + && npm install -g rtlcss + # Install Odoo ENV ODOO_VERSION 12.0 ENV ODOO_RELEASE 20181126