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

[UPD] go back to OCB source code iso odoo since v16.0 created

parent f8a371fa
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,7 @@ COPY ./ssh_known_git_hosts /root/.ssh/known_hosts
RUN set -x; \
adduser -h /opt/odoo -D odoo &&\
/bin/bash -c "mkdir -p /opt/odoo/{etc,odoo,additional_addons,private_addons,data,private}" &&\
# git clone -b 16.0 --depth 1 https://github.com/OCA/OCB.git /opt/odoo/odoo &&\
git clone -b master --depth 1 https://github.com/odoo/odoo.git /opt/odoo/odoo &&\
git clone -b 16.0 --depth 1 https://github.com/OCA/OCB.git /opt/odoo/odoo &&\
rm -rf /opt/odoo/odoo/.git &&\
find /opt/odoo/odoo/addons/*/i18n/ /opt/odoo/odoo/odoo/addons/base/i18n/ -type f -not -name 'fr.po' -delete &&\
chown -R odoo:odoo /opt/odoo
......
......@@ -41,8 +41,7 @@ COPY ./ssh_known_git_hosts /root/.ssh/known_hosts
RUN set -x; \
useradd --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}" &&\
# git clone -b 16.0 --depth 1 https://github.com/OCA/OCB.git /opt/odoo/odoo &&\
git clone -b master --depth 1 https://github.com/odoo/odoo.git /opt/odoo/odoo &&\
git clone -b 16.0 --depth 1 https://github.com/OCA/OCB.git /opt/odoo/odoo &&\
rm -rf /opt/odoo/odoo/.git &&\
find /opt/odoo/odoo/addons/*/i18n/ /opt/odoo/odoo/odoo/addons/base/i18n/ -type f -not -name 'fr.po' -delete &&\
chown -R odoo:odoo /opt/odoo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment