[IMP]GOLEM service with master handling
This commit is contained in:
parent
476e95887e
commit
8839906325
13
odoo/golem/Dockerfile.master
Normal file
13
odoo/golem/Dockerfile.master
Normal 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/golemmaster.tar.gz golem/
|
||||||
|
WORKDIR /opt/odoo
|
@ -1,8 +1,16 @@
|
|||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
odoo:
|
golem:
|
||||||
build: .
|
build: .
|
||||||
image: golem:base
|
image: golem:base
|
||||||
extends:
|
extends:
|
||||||
file: ../base.yml
|
file: ../base.yml
|
||||||
service: odoo
|
service: odoo
|
||||||
|
golemmaster:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.master
|
||||||
|
image: golem:master
|
||||||
|
extends:
|
||||||
|
file: ../base.yml
|
||||||
|
service: odoo
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
CODE_PATH="/home/fabien/bak/code"
|
CODE_PATH="/home/fabien/bak/code"
|
||||||
LOCAL_PATH="$CODE_PATH/linux/dockerfiles/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 master \
|
||||||
> $LOCAL_PATH/yaltik.tar.gz &&
|
> $LOCAL_PATH/yaltik.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
|
||||||
|
BIN
odoo/golem/code/golemmaster.tar.gz
Normal file
BIN
odoo/golem/code/golemmaster.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user