Skip to content
Snippets Groups Projects
Commit 1392c33d authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[UPD] use OCB PR 1141

parent bc0af682
No related branches found
No related tags found
No related merge requests found
...@@ -50,11 +50,13 @@ RUN set -x; \ ...@@ -50,11 +50,13 @@ RUN set -x; \
# Add Git Known Hosts # Add Git Known Hosts
COPY ./ssh_known_git_hosts /root/.ssh/known_hosts COPY ./ssh_known_git_hosts /root/.ssh/known_hosts
# Install Odoo and remove not French translations and .git directory to limit amount of data used by container # Install Odoo and remove .git directory to limit amount of data used by container
RUN set -x; \ RUN set -x; \
useradd -l --create-home --home-dir /opt/odoo --no-log-init odoo &&\ useradd -l --create-home --home-dir /opt/odoo --no-log-init odoo &&\
/bin/bash -c "mkdir -p /opt/odoo/{etc,odoo,additional_addons,private_addons,data,private}" &&\ /bin/bash -c "mkdir -p /opt/odoo/{etc,odoo,additional_addons,private_addons,data,private}" &&\
git clone -b 12.0 --depth 1 https://github.com/OCA/OCB.git /opt/odoo/odoo &&\ # RC get fix for export (until https://github.com/OCA/OCB/pull/1141 is merged)
#git clone -b 12.0 --depth 1 https://github.com/OCA/OCB.git /opt/odoo/odoo &&\
git clone -b 12.0-imp_export_of_m2m --depth 1 https://github.com/lefilament/odoo.git /opt/odoo/odoo &&\
rm -rf /opt/odoo/odoo/.git &&\ rm -rf /opt/odoo/odoo/.git &&\
chown -R odoo:odoo /opt/odoo chown -R odoo:odoo /opt/odoo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment