FROM registry.yaltik.net/odoo:yaltik8
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/yaltik8.tar.gz yaltik/
RUN git clone --depth 1 -b 2 https://git.yaltik.net/yaltik/golem.git golem
WORKDIR /opt/odoo