[FIX]Odoo py3o : use jessie libreoffice

This commit is contained in:
Fabien BOURGEOIS 2019-05-20 11:32:36 +02:00
parent 75264581da
commit 3226864b18
1 changed files with 4 additions and 6 deletions

View File

@ -3,13 +3,11 @@ MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# Install local LibreOffice for better conversion and supported types (bpo version)
USER root
# Remove inexisting source
RUN sed -i -- 's/deb http:\/\/deb.debian.org\/debian jessie-updates main/# deb http:\/\/deb.debian.org\/debian jessie-updates main/g' /etc/apt/sources.list
RUN apt-get update
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
RUN apt-get install --no-install-recommends -y libreoffice libreoffice-calc libreoffice-writer
USER odoo
WORKDIR /opt/odoo/extra-addons