[REF]All hosts : use gitea instead of local code ADD

This commit is contained in:
Fabien BOURGEOIS 2018-08-28 16:01:13 +02:00
parent 68f744013d
commit ba2d801f57
3 changed files with 5 additions and 3 deletions

View File

@ -1,13 +1,15 @@
FROM registry.yaltik.net/odoo:yaltik8 FROM registry.yaltik.net/odoo:yaltik8
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com> MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# External dependencies
WORKDIR /opt/odoo/extra-addons WORKDIR /opt/odoo/extra-addons
RUN git clone --depth 1 -b 8.0 https://github.com/OCA/community-data-files \ 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/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/partner-contact \
&& git clone --depth 1 -b 8.0 https://github.com/OCA/vertical-association && git clone --depth 1 -b 8.0 https://github.com/OCA/vertical-association
# Custom code
WORKDIR /opt/odoo/custom-addons 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 RUN git clone --depth 1 -b 2 https://git.yaltik.net/yaltik/golem.git golem
WORKDIR /opt/odoo WORKDIR /opt/odoo

View File

@ -15,6 +15,6 @@ RUN git clone --depth 1 -b 10.0 https://github.com/OCA/community-data-files \
# Own GOLEM Code # Own GOLEM Code
WORKDIR /opt/odoo/custom-addons 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 RUN git clone --depth 1 -b stable https://git.yaltik.net/yaltik/golem.git golem
WORKDIR /opt/odoo WORKDIR /opt/odoo

View File

@ -15,6 +15,6 @@ RUN git clone --depth 1 -b 10.0 https://github.com/OCA/community-data-files \
# Own GOLEM Code # Own GOLEM Code
WORKDIR /opt/odoo/custom-addons 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 RUN git clone --depth 1 -b stable https://git.yaltik.net/yaltik/golem.git golem
WORKDIR /opt/odoo WORKDIR /opt/odoo