anchor.diff:  COPY tomcat/setenv.sh /usr/share/tomcat8/bin/
   
   # Setup the XWiki Hibernate configuration
  +ENV MYSQL_DATABASE=xwiki
   COPY xwiki/hibernate.cfg.xml /var/lib/tomcat8/webapps/ROOT/WEB-INF/hibernate.cfg.xml
   
   # Set a specific distribution id in XWiki for this docker packaging.
  
positive.code: 
  MAINTAINER Vincent Massol <vincent@massol.net>
  
  # Note: when using docker-compose, these values are overridden from the .env file.
  ENV XWIKI_VERSION=8.4.4 \
      MYSQL_DRIVER_VERSION=5.1.38 \
      MYSQL_USER=xwiki \
      MYSQL_PASSWORD=xwiki \
      MYSQL_DATABASE=xwiki
  
  # Install Java8 + Tomcat + LibreOffice + other tools
  RUN echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list && \
  
negative.code:   rm -f xwiki.war
  
  # Download the MySQL JDBC driver and install it in the XWiki webapp
  ENV MYSQL_DRIVER_VERSION=5.1.38
  RUN curl -L https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-${MYSQL_DRIVER_VERSION}.tar.gz \
      -o mysql-connector-java-${MYSQL_DRIVER_VERSION}.tar.gz && \
    tar xvf mysql-connector-java-${MYSQL_DRIVER_VERSION}.tar.gz \
  