[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.
This commit is contained in:
parent
01f0a1e508
commit
a1463daf59
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user