[ADD]Odoo 16 : py3o images

This commit is contained in:
Fabien BOURGEOIS 2024-08-02 17:17:45 +02:00
parent 0c54e27dfb
commit a2b5eb16e7
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,15 @@
FROM registry.yaltik.net/odoo:yaltik16
LABEL maintainer="Yaltik - Fabien Bourgeois <fabien@yaltik.com>"
# 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

View File

@ -0,0 +1,16 @@
FROM registry.yaltik.net/odoo:yaltikpy3o16
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# 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

View File

@ -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