[ADD]GOLEM images

This commit is contained in:
Fabien Bourgeois 2016-09-30 15:03:10 +02:00
parent 2810d27804
commit 00988e8211
4 changed files with 20 additions and 0 deletions

13
odoo/golem/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM odoo: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
WORKDIR /opt/odoo/custom-addons
ADD code/yaltik.tar.gz yaltik/
ADD code/golem.tar.gz golem/
WORKDIR /opt/odoo

7
odoo/golem/code.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
CODE_PATH="/home/fabien/bak/code"
LOCAL_PATH="$CODE_PATH/linux/dockerfiles/images/odoo/golem/code"
cd $CODE_PATH/odoo/yaltik/ && git archive --format=tar.gz master \
> $LOCAL_PATH/yaltik.tar.gz &&
cd $CODE_PATH/odoo/golem && git archive --format=tar.gz stable \
> $LOCAL_PATH/golem.tar.gz

Binary file not shown.

Binary file not shown.