From ba2d801f57dcf44c5c957b0a808484cef648dd61 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Tue, 28 Aug 2018 16:01:13 +0200 Subject: [PATCH] [REF]All hosts : use gitea instead of local code ADD --- odoo/golem/Dockerfile | 4 +++- odoo/golem/Dockerfile.master | 2 +- odoo/golem/Dockerfile.v3 | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/odoo/golem/Dockerfile b/odoo/golem/Dockerfile index fb8d61b..ca5b779 100644 --- a/odoo/golem/Dockerfile +++ b/odoo/golem/Dockerfile @@ -1,13 +1,15 @@ FROM registry.yaltik.net/odoo:yaltik8 MAINTAINER Yaltik - Fabien Bourgeois +# External dependencies WORKDIR /opt/odoo/extra-addons RUN git clone --depth 1 -b 8.0 https://github.com/OCA/community-data-files \ && git clone --depth 1 -b 8.0 https://github.com/OCA/l10n-france \ && git clone --depth 1 -b 8.0 https://github.com/OCA/partner-contact \ && git clone --depth 1 -b 8.0 https://github.com/OCA/vertical-association +# Custom code WORKDIR /opt/odoo/custom-addons -ADD code/yaltik8.tar.gz yaltik/ +RUN git clone --depth 1 -b 8.0 https://$GITEA_USER:$GITEA_PASS@git.yaltik.net/Yaltik/yaltik_odoo_custom.git yaltik RUN git clone --depth 1 -b 2 https://git.yaltik.net/yaltik/golem.git golem WORKDIR /opt/odoo diff --git a/odoo/golem/Dockerfile.master b/odoo/golem/Dockerfile.master index fb7276d..b24c37a 100644 --- a/odoo/golem/Dockerfile.master +++ b/odoo/golem/Dockerfile.master @@ -15,6 +15,6 @@ RUN git clone --depth 1 -b 10.0 https://github.com/OCA/community-data-files \ # Own GOLEM Code WORKDIR /opt/odoo/custom-addons -ADD code/yaltik10.tar.gz yaltik/ +RUN git clone --depth 1 -b 10.0 https://$GITEA_USER:$GITEA_PASS@git.yaltik.net/Yaltik/yaltik_odoo_custom.git yaltik RUN git clone --depth 1 -b stable https://git.yaltik.net/yaltik/golem.git golem WORKDIR /opt/odoo diff --git a/odoo/golem/Dockerfile.v3 b/odoo/golem/Dockerfile.v3 index fb7276d..b24c37a 100644 --- a/odoo/golem/Dockerfile.v3 +++ b/odoo/golem/Dockerfile.v3 @@ -15,6 +15,6 @@ RUN git clone --depth 1 -b 10.0 https://github.com/OCA/community-data-files \ # Own GOLEM Code WORKDIR /opt/odoo/custom-addons -ADD code/yaltik10.tar.gz yaltik/ +RUN git clone --depth 1 -b 10.0 https://$GITEA_USER:$GITEA_PASS@git.yaltik.net/Yaltik/yaltik_odoo_custom.git yaltik RUN git clone --depth 1 -b stable https://git.yaltik.net/yaltik/golem.git golem WORKDIR /opt/odoo