docker_images/odoo/odoo/Dockerfile.py3o.10

23 lines
1018 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 echo 'deb http://ftp.debian.org/debian jessie-backports main' >> /etc/apt/sources.list.d/backports.list
RUN apt-get update && apt-get install --no-install-recommends -t jessie-backports -y libreoffice libreoffice-calc libreoffice-writer
RUN apt-get install fonts-liberation
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
# TMP : use latest master for better error reporting
RUN pip install --user hg+https://bitbucket.org/faide/py3o.template
# RUN pip install --user py3o.template && pip install --user py3o.formats
RUN pip install --user py3o.formats
WORKDIR /opt/odoo