[IMP]GOLEM Dev environment

This commit is contained in:
Fabien Bourgeois 2016-10-09 08:50:27 +02:00
parent 9a491bf66f
commit 2cde0f61ed
2 changed files with 18 additions and 5 deletions

11
odoo/golem/Dockerfile.dev Normal file
View File

@ -0,0 +1,11 @@
FROM odoodev:8.0
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
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
RUN mkdir /opt/odoo/custom-addons/yaltik && mkdir /opt/odoo/custom-addons/golem
WORKDIR /opt/odoo

View File

@ -1,9 +1,11 @@
version: '2' version: '2'
services: services:
odoo: odoodev:
extends: extends:
file: base.yml file: ../dev.yml
service: odoo service: odoodev
build: .
image: golem:dev
volumes: volumes:
- /home/fabien/bak/code/odoo/yaltik:/opt/odoo/extra-addons/yaltik:ro - /home/fabien/bak/code/odoo/yaltik:/opt/odoo/custom-addons/yaltik:ro
- /home/fabien/bak/code/odoo/golem:/opt/odoo/extra-addons/golem:ro - /home/fabien/bak/code/odoo/golem:/opt/odoo/custom-addons/golem:ro