24 lines
1012 B
Docker
24 lines
1012 B
Docker
FROM registry.yaltik.net/odoo:yaltik10
|
|
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
|
|
|
# Install local LibreOffice for better conversion and supported types (bpo version)
|
|
USER root
|
|
RUN apt-get install -y fonts-liberation
|
|
RUN curl -L https://ftp.igh.cnrs.fr/pub/tdf/libreoffice/stable/6.1.6/deb/x86_64/LibreOffice_6.1.6_Linux_x86-64_deb.tar.gz > /tmp/libreoffice.tar.gz
|
|
WORKDIR /tmp/
|
|
RUN tar zxf libreoffice.tar.gz
|
|
WORKDIR LibreOffice_6.1.6.3_Linux_x86-64_deb/DEBS/
|
|
RUN rm *draw* *impress* *extension* *gnome* *firebird* *kde* *math* *postgresql* *menus* *base* *dict* *onlineupdate* *ogltrans*
|
|
RUN dpkg -i *.deb
|
|
|
|
USER odoo
|
|
WORKDIR /opt/odoo/extra-addons
|
|
# reporting engine with recent hbrun MR
|
|
RUN git clone --depth 1 -b 10.0 https://github.com/OCA/reporting-engine && \
|
|
cd reporting-engine && \
|
|
git fetch origin pull/180/head:10.0-bypass-fusion && git checkout 10.0-bypass-fusion
|
|
# Addons dependencies
|
|
RUN pip install --user py3o.template && pip install --user py3o.formats
|
|
|
|
WORKDIR /opt/odoo
|