anchor.diff:  # Install XWiki as the ROOT webapp context in Tomcat
   # Create the Tomcat temporary directory
   # Configure the XWiki permanent directory
  +ENV XWIKI_VERSION=8.4.4
   RUN rm -rf /var/lib/tomcat8/webapps/* && \
     mkdir -p /var/lib/tomcat8/temp && \
     mkdir -p /var/lib/xwiki/data && \
  
positive.code: # Starts XWiki by starting Tomcat. All options passed to "docker run [OPTIONS] IMAGE[:TAG|@DIGEST] [COMMAND] [ARG...]"
  # are also passed to start_xwiki.sh. However at the moment start_xwiki.sh doesn't support any parameters and all
  # configurations are done through environment variable overrides (see above).
  ENTRYPOINT ["start_xwiki.sh"]
  
  # When no options are passed on the "docker run" command line we display a message explaining what environment
  
negative.code: 
  MAINTAINER Vincent Massol <vincent@massol.net>
  
  # Note: when using docker-compose, the ENV values below are overridden from the .env file.
  
  # Install Java8 + Tomcat + LibreOffice + other tools
  RUN echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list && \
  