anchor.diff:  EXPOSE 8069 8072
   
   # Subimage triggers
  +ONBUILD ENTRYPOINT ["/opt/odoo/common/entrypoint.sh"]
  +ONBUILD CMD ["/usr/local/bin/odoo"]
   ONBUILD ARG AGGREGATE=true
   ONBUILD ARG DEPTH_DEFAULT=1
   ONBUILD ARG DEPTH_MERGE=100
  
positive.code:             PGDATABASE="$PGDATABASE"
  ONBUILD ARG LOCAL_CUSTOM_DIR=./custom
  ONBUILD COPY $LOCAL_CUSTOM_DIR /opt/odoo/custom
  ONBUILD WORKDIR /opt/odoo
  ONBUILD RUN chown -R odoo:odoo . \
      && chmod -Rc a+rx common/entrypoint.d common/build.d
  # https://docs.python.org/2.7/library/logging.html#levels
  ONBUILD ARG LOG_LEVEL=INFO
  ONBUILD RUN ["/opt/odoo/common/build.sh"]
  ONBUILD ENTRYPOINT ["/opt/odoo/common/entrypoint.sh"]
  ONBUILD CMD ["/usr/local/bin/odoo"]
  ONBUILD USER odoo
  
  ARG PYTHONOPTIMIZE=2
  
negative.code:     && wkhtmltopdf --version
  
  # Other facilities
  WORKDIR /opt/odoo
  RUN pip install --no-cache-dir \
      astor git-aggregator openupgradelib ptvsd==3.0.0 pudb wdb
  COPY bin/autoaggregate bin/install.sh bin/log bin/pot bin/python-odoo-shell bin/unittest /usr/local/bin/
  COPY bin/direxec.sh common/entrypoint.sh
  RUN ln common/entrypoint.sh common/build.sh
  COPY lib/*.py /usr/local/lib/python2.7/dist-packages
  COPY build.d common/build.d
  COPY conf.d common/conf.d
  COPY entrypoint.d common/entrypoint.d
  RUN mkdir -p auto/addons
  RUN chmod -Rc a+rx \
      common/entrypoint* \
      common/build* \
      /usr/local/bin
  
  # Execute installation script by Odoo version
  