Skip to content

Commit

Permalink
Avoid text file busy after running onbuild.d
Browse files Browse the repository at this point in the history
Fixes #65
  • Loading branch information
yajo committed Oct 5, 2017
1 parent 3153dc9 commit 03b514e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 11.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 8.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03b514e

Please sign in to comment.