[FIX]Odoo 10 Py3o : fix conversion (cmdline and deps)

This commit is contained in:
Fabien BOURGEOIS 2022-02-14 11:10:58 +01:00
parent 6fba57b7ba
commit f5abe40bb2
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ RUN curl -LO "https://downloadarchive.documentfoundation.org/libreoffice/old/"$L
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