[FIX]Odoo py3o : do not use jessie backport anymore

This commit is contained in:
Fabien BOURGEOIS 2019-05-13 11:02:18 +02:00
parent 29209454cb
commit fc2df667d7

View File

@ -3,11 +3,15 @@ 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
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 && \