From 034082af7b53c3ce4a0947ebb70c501c0eeaa2ea Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Tue, 14 Sep 2021 13:07:29 +0200 Subject: [PATCH] [ADD]Odoo v14 : yaltik image --- odoo/base.yml | 7 +++++++ odoo/odoo/Dockerfile.ext.14 | 23 +++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 odoo/odoo/Dockerfile.ext.14 diff --git a/odoo/base.yml b/odoo/base.yml index ebac2b1..5e1e3fa 100644 --- a/odoo/base.yml +++ b/odoo/base.yml @@ -72,6 +72,13 @@ services: dockerfile: Dockerfile.14 image: registry.yaltik.net/odoo:yaltikbase14 + odoo14: + init: true + build: + context: ./odoo + dockerfile: Dockerfile.ext.14 + image: registry.yaltik.net/odoo:yaltik14 + flectra: init: true build: diff --git a/odoo/odoo/Dockerfile.ext.14 b/odoo/odoo/Dockerfile.ext.14 new file mode 100644 index 0000000..4e39f45 --- /dev/null +++ b/odoo/odoo/Dockerfile.ext.14 @@ -0,0 +1,23 @@ +FROM registry.yaltik.net/odoo:yaltikbase14 +MAINTAINER Yaltik - Fabien Bourgeois + +# External code +WORKDIR /opt/odoo/extra-addons +RUN git clone --depth 1 -b 14.0 https://github.com/OCA/community-data-files +RUN git clone --depth 1 -b 14.0 https://github.com/OCA/l10n-france +RUN git clone --depth 1 -b 14.0 https://github.com/OCA/queue +RUN git clone --depth 1 -b 14.0 https://github.com/OCA/partner-contact +RUN git clone --depth 1 -b 14.0 https://github.com/OCA/social +RUN git clone --depth 1 -b 14.0 https://github.com/OCA/server-brand +RUN git clone --depth 1 -b 14.0 https://github.com/OCA/web +RUN git clone --depth 1 -b 14.0 https://github.com/OCA/website +RUN git clone --depth 1 -b 14.0 https://github.com/Openworx/backend_theme + +# Custom code +WORKDIR /opt/odoo/custom-addons +RUN git clone --depth 1 -b 14.0 https://git.yaltik.net/Yaltik/yaltik_odoo_custom.git + +WORKDIR /opt/odoo + +# Addons dependencies +RUN .local/bin/pip3 install --user openupgradelib