anchor.diff:  # add volumes
   # do this AFTER `chown`, because otherwise directory permissions are not
   # preserved
  -VOLUME /code
  -VOLUME /home/invenio
  -VOLUME /tmp
  -
  -# global environment variables
  -ENV INVENIOBASE_INSTANCE_PATH /home/invenio/instance
  -ENV INVENIOBASE_STATIC_FOLDER /home/invenio/static
  +VOLUME ["/code", "/home/invenio", "/tmp"]
   
   # install init scripts
   ENTRYPOINT ["/code/scripts/docker_boot.sh"]
  
positive.code: FROM python:2.7-slim
  MAINTAINER CERN <info@invenio-software.org>
  
  # nodejs repo
  # detects distribution and adds the right repo
  # See: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions
  
negative.code: ## 4. Build (changing)                                                       ##
  ###############################################################################
  
  #  - install invenio
  #  - update Python bytecode
  #  - build translation catalog
  #  - clean up
  RUN pip install --editable .[$REXTRAS] && \
      (python -O -m compileall . || true) && \
      python setup.py compile_catalog && \
      rm -rf /tmp/* /var/tmp/* /var/lib/{cache,log}/ /root/.cache/*
  
  
  ###############################################################################
  