diff --git a/11.0.Dockerfile b/11.0.Dockerfile index 98c543a0..e3938f23 100644 --- a/11.0.Dockerfile +++ b/11.0.Dockerfile @@ -44,7 +44,7 @@ ONBUILD RUN mkdir -p /opt/odoo/custom/ssh \ && ln -s /opt/odoo/custom/ssh ~root/.ssh \ && chmod -R u=rwX,go= /opt/odoo/custom/ssh \ && sync -ONBUILD RUN ["/opt/odoo/common/build"] +ONBUILD RUN /opt/odoo/common/build && sync ONBUILD USER odoo ARG WKHTMLTOPDF_VERSION=0.12.4 diff --git a/8.0.Dockerfile b/8.0.Dockerfile index dea94c7f..b85bb0db 100644 --- a/8.0.Dockerfile +++ b/8.0.Dockerfile @@ -46,7 +46,7 @@ ONBUILD RUN mkdir -p /opt/odoo/custom/ssh \ && ln -s /opt/odoo/custom/ssh ~root/.ssh \ && chmod -R u=rwX,go= /opt/odoo/custom/ssh \ && sync -ONBUILD RUN ["/opt/odoo/common/build"] +ONBUILD RUN /opt/odoo/common/build && sync ONBUILD USER odoo ARG PYTHONOPTIMIZE=2