[ADD][WIP]Compose files for GOLEM v3

This commit is contained in:
Fabien Bourgeois 2017-06-01 12:16:42 +02:00
parent 092a3604e6
commit dbe775daa5
7 changed files with 22 additions and 6 deletions

View File

@ -8,6 +8,6 @@ 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/vertical-association && git clone --depth 1 -b 8.0 https://github.com/OCA/vertical-association
WORKDIR /opt/odoo/custom-addons WORKDIR /opt/odoo/custom-addons
ADD code/yaltik.tar.gz yaltik/ ADD code/yaltik8.tar.gz yaltik/
ADD code/golem.tar.gz golem/ ADD code/golem.tar.gz golem/
WORKDIR /opt/odoo WORKDIR /opt/odoo

View File

@ -8,6 +8,6 @@ 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/vertical-association && git clone --depth 1 -b 8.0 https://github.com/OCA/vertical-association
WORKDIR /opt/odoo/custom-addons WORKDIR /opt/odoo/custom-addons
ADD code/yaltik.tar.gz yaltik/ ADD code/yaltik8.tar.gz yaltik/
ADD code/golemmaster.tar.gz golem/ ADD code/golemmaster.tar.gz golem/
WORKDIR /opt/odoo WORKDIR /opt/odoo

View File

@ -5,9 +5,10 @@ WORKDIR /opt/odoo/extra-addons
RUN git clone --depth 1 -b 10.0 https://github.com/OCA/community-data-files \ RUN git clone --depth 1 -b 10.0 https://github.com/OCA/community-data-files \
&& git clone --depth 1 -b 10.0 https://github.com/OCA/l10n-france \ && git clone --depth 1 -b 10.0 https://github.com/OCA/l10n-france \
&& git clone --depth 1 -b 10.0 https://github.com/OCA/partner-contact \ && git clone --depth 1 -b 10.0 https://github.com/OCA/partner-contact \
&& git clone --depth 1 -b 10.0 https://github.com/OCA/vertical-association && git clone --depth 1 -b 10.0 https://github.com/OCA/vertical-association \
&& git clone --depth 1 -b 10.0 https://github.com/OCA/web
WORKDIR /opt/odoo/custom-addons WORKDIR /opt/odoo/custom-addons
ADD code/yaltik.tar.gz yaltik/ ADD code/yaltik10.tar.gz yaltik/
ADD code/golemv3.tar.gz golem/ ADD code/golemv3.tar.gz golem/
WORKDIR /opt/odoo WORKDIR /opt/odoo

View File

@ -1,8 +1,10 @@
#!/bin/bash #!/bin/bash
CODE_PATH="/home/fabien/bak/code" CODE_PATH="/home/fabien/bak/code"
LOCAL_PATH="$CODE_PATH/linux/docker/images/odoo/golem/code" LOCAL_PATH="$CODE_PATH/linux/docker/images/odoo/golem/code"
cd $CODE_PATH/odoo/yaltik/ && git archive --format=tar.gz master \ cd $CODE_PATH/odoo/yaltik/ && git archive --format=tar.gz 8.0 \
> $LOCAL_PATH/yaltik.tar.gz && > $LOCAL_PATH/yaltik8.tar.gz &&
cd $CODE_PATH/odoo/yaltik/ && git archive --format=tar.gz 10.0 \
> $LOCAL_PATH/yaltik10.tar.gz &&
cd $CODE_PATH/odoo/golem && git archive --format=tar.gz stable \ cd $CODE_PATH/odoo/golem && git archive --format=tar.gz stable \
> $LOCAL_PATH/golem.tar.gz && > $LOCAL_PATH/golem.tar.gz &&
git archive --format=tar.gz master > $LOCAL_PATH/golemmaster.tar.gz git archive --format=tar.gz master > $LOCAL_PATH/golemmaster.tar.gz

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,6 @@
version: '2' version: '2'
services: services:
odoodev: odoodev:
extends: extends:
file: ../dev.yml file: ../dev.yml
@ -9,3 +10,15 @@ services:
volumes: volumes:
- /home/fabien/bak/code/odoo/yaltik:/opt/odoo/custom-addons/yaltik:ro - /home/fabien/bak/code/odoo/yaltik:/opt/odoo/custom-addons/yaltik:ro
- /home/fabien/bak/code/odoo/golem:/opt/odoo/custom-addons/golem:ro - /home/fabien/bak/code/odoo/golem:/opt/odoo/custom-addons/golem:ro
odoodev10:
extends:
file: ../dev.yml
service: odoodev10
build:
context: .
dockerfile: Dockerfile.v3
image: golem:yaltikdev10
volumes:
- /home/fabien/bak/code/odoo/yaltik:/opt/odoo/custom-addons/yaltik:ro
- /home/fabien/bak/code/odoo/golem:/opt/odoo/custom-addons/golem:ro