From 3226864b187da0c831bcb57cf6793e6f2eceab8a Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Mon, 20 May 2019 11:32:36 +0200 Subject: [PATCH] [FIX]Odoo py3o : use jessie libreoffice --- odoo/odoo/Dockerfile.py3o.10 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/odoo/odoo/Dockerfile.py3o.10 b/odoo/odoo/Dockerfile.py3o.10 index 81ce3dd..09aba47 100644 --- a/odoo/odoo/Dockerfile.py3o.10 +++ b/odoo/odoo/Dockerfile.py3o.10 @@ -3,13 +3,11 @@ MAINTAINER Yaltik - Fabien Bourgeois # 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