Install the barcode fonts and dejavu fonts required for reports.
This commit is contained in:
parent
14db1d3acf
commit
44e600fcfd
@ -11,6 +11,10 @@ RUN set -x; \
|
|||||||
npm \
|
npm \
|
||||||
python-support \
|
python-support \
|
||||||
python-pyinotify \
|
python-pyinotify \
|
||||||
|
fonts-dejavu \
|
||||||
|
fonts-dejavu-core \
|
||||||
|
fonts-dejavu-extra \
|
||||||
|
unzip \
|
||||||
locales-all \
|
locales-all \
|
||||||
locales \
|
locales \
|
||||||
&& npm install -g less less-plugin-clean-css \
|
&& npm install -g less less-plugin-clean-css \
|
||||||
@ -32,6 +36,11 @@ RUN set -x; \
|
|||||||
&& apt-get -y install -f --no-install-recommends \
|
&& apt-get -y install -f --no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/* odoo.deb
|
&& rm -rf /var/lib/apt/lists/* odoo.deb
|
||||||
|
|
||||||
|
# Install barcode font
|
||||||
|
RUN curl http://www.reportlab.com/ftp/pfbfer.zip --output /tmp/pfbfer.zip \
|
||||||
|
&& mkdir -p /usr/lib/python2.7/dist-packages/reportlab/fonts \
|
||||||
|
&& unzip /tmp/pfbfer.zip -d /usr/lib/python2.7/dist-packages/reportlab/fonts/
|
||||||
|
|
||||||
# Copy entrypoint script and Odoo configuration file
|
# Copy entrypoint script and Odoo configuration file
|
||||||
COPY ./entrypoint.sh /
|
COPY ./entrypoint.sh /
|
||||||
COPY ./openerp-server.conf /etc/odoo/
|
COPY ./openerp-server.conf /etc/odoo/
|
||||||
|
Loading…
Reference in New Issue
Block a user