[IMP]OpenERP 60 extra : prefer BZR branch more than huge binary on git repo

This commit is contained in:
Fabien BOURGEOIS 2018-04-30 19:10:12 +02:00
parent 88db6df350
commit cfe416b63f
3 changed files with 6 additions and 6 deletions

View File

@ -37,12 +37,12 @@ WORKDIR /opt/odoo/odoo/
RUN python setup.py install RUN python setup.py install
# OpenERP 6 extra addons was used, so install it... and its dependencies # OpenERP 6 extra addons was used, so install it... and its dependencies
# RUN easy_install bzr
# RUN bzr init-repo extra-addons
# RUN bzr branch lp:openobject-addons/extra-6.0 extra-addons/6.0
WORKDIR /opt/odoo/ WORKDIR /opt/odoo/
COPY openerp-extra-60.zip ./ RUN easy_install bzr
RUN unzip openerp-extra-60.zip && rm openerp-extra-60.zip RUN bzr init-repo extra-addons
RUN bzr branch lp:openobject-addons/extra-6.0 extra-addons/openerp-extra-6.0
# COPY openerp-extra-60.zip ./
# RUN unzip openerp-extra-60.zip && rm openerp-extra-60.zip
RUN easy_install egenix-mx-base RUN easy_install egenix-mx-base
# Prepare launch # Prepare launch

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
CONF=/opt/odoo/openerp-server.conf CONF=/opt/odoo/openerp-server.conf
ADDONS_PATH="/opt/odoo/odoo/addons,/opt/odoo/openerp-extra-60" ADDONS_PATH="/opt/odoo/odoo/addons,/opt/odoo/extra-addons/openerp-extra-6.0"
# Configuration generation # Configuration generation
echo " echo "

Binary file not shown.