20 lines
795 B
Docker
20 lines
795 B
Docker
FROM registry.yaltik.net/odoo:yaltik10c7
|
|
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
|
|
|
# Install local LibreOffice for better conversion and supported types
|
|
USER root
|
|
ENV LO_VERSION 5.3.7.2
|
|
RUN curl -LO "https://downloadarchive.documentfoundation.org/libreoffice/old/"$LO_VERSION"/rpm/x86_64/LibreOffice_"$LO_VERSION"_Linux_x86-64_rpm.tar.gz" && tar zxf "LibreOffice_"$LO_VERSION"_Linux_x86-64_rpm.tar.gz"
|
|
RUN yum -y install "./LibreOffice_"$LO_VERSION"_Linux_x86-64_rpm/RPMS/"*
|
|
RUN rm -rf "./LibreOffice_"$LO_VERSION"_Linux_x86-64_rpm"*
|
|
|
|
# For conversions
|
|
RUN yum install -y cairo cups-libs libSM
|
|
RUN ln -s /usr/bin/libreoffice5.3 /usr/local/bin/libreoffice
|
|
|
|
# Addons dependencies
|
|
USER odoo
|
|
RUN pip install --user py3o.template && pip install --user py3o.formats
|
|
|
|
WORKDIR /opt/odoo
|