docker_images/odoo/odoo/Dockerfile.py3o.10

17 lines
652 B
Docker

FROM registry.yaltik.net/odoo:yaltik10
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 apt-get install --no-install-recommends -y libreoffice libreoffice-calc libreoffice-writer
# Addons dependencies
USER odoo
RUN pip install --user py3o.template && pip install --user py3o.formats
WORKDIR /opt/odoo