diff --git a/odoo/odoo/Dockerfile.py3o.16 b/odoo/odoo/Dockerfile.py3o.16 new file mode 100644 index 0000000..f57334b --- /dev/null +++ b/odoo/odoo/Dockerfile.py3o.16 @@ -0,0 +1,15 @@ +FROM registry.yaltik.net/odoo:yaltik16 +LABEL maintainer="Yaltik - Fabien Bourgeois " + +# Install local LibreOffice for better conversion and supported types (bpo version) +USER root +# Remove inexisting source +RUN apt update && apt install -y fonts-liberation && \ + apt install --no-install-recommends -y libreoffice libreoffice-calc libreoffice-writer && \ + apt clean && rm -rf /var/lib/apt/lists/* + +# Addons dependencies +USER odoo +RUN pip install --no-cache-dir --user py3o.template==0.10.0 py3o.formats==0.3 + +WORKDIR /opt/odoo diff --git a/odoo/odoo/Dockerfile.py3o.16.dev b/odoo/odoo/Dockerfile.py3o.16.dev new file mode 100644 index 0000000..bd5cb7f --- /dev/null +++ b/odoo/odoo/Dockerfile.py3o.16.dev @@ -0,0 +1,16 @@ +FROM registry.yaltik.net/odoo:yaltikpy3o16 +MAINTAINER Yaltik - Fabien Bourgeois + +# PostgreSQL CLI +# RUN .local/bin/pip3 install --user pgcli +# COPY pgcli.sh ./ +# Odoo specific +RUN pip3 install --no-cache-dir --user watchdog==2.1.9 ipython==8.6.0 && \ + mkdir -p /opt/odoo/.ipython/profile_default + +COPY ipython_config.py /opt/odoo/.ipython/profile_default/ +COPY shell_helpers.py /opt/odoo/ +COPY shell12.sh /opt/odoo/shell.sh +COPY i18n.sh /opt/odoo/i18n.sh +COPY launch12.dev.sh /opt/odoo/launch.sh +ENV DEV 1 diff --git a/odoo/py3o.yml b/odoo/py3o.yml index 66902b5..a550b74 100644 --- a/odoo/py3o.yml +++ b/odoo/py3o.yml @@ -13,6 +13,12 @@ services: dockerfile: Dockerfile.py3o.10.centos8 image: registry.yaltik.net/odoo:yaltikpy3o10c8 + odoopy3o16: + build: + context: ./odoo + dockerfile: Dockerfile.py3o.16 + image: registry.yaltik.net/odoo:yaltikpy3o16 + odoodevpy3o10c7: build: context: ./odoo @@ -24,3 +30,9 @@ services: context: ./odoo dockerfile: Dockerfile.py3o.10.centos8.dev image: registry.yaltik.net/odoodev:yaltikpy3o10c8 + + odoodevpy3o16: + build: + context: ./odoo + dockerfile: Dockerfile.py3o.16.dev + image: registry.yaltik.net/odoodev:yaltikpy3o16