anchor.diff:  && chown www-data:www-data /data/resources/base/restoreilias.sh \
   && chmod 751 /data/resources/base/restoreilias.sh \
   
  -&& sed -i 's|/var/www/html|/var/www/html/ilias|g' /etc/apache2/sites-enabled/000-default.conf \
  -
  -&& /etc/init.d/apache2 restart
  +#Problem in LetsEncrypt when changing the DocumentRoot...
  +#&& sed -i 's|/var/www/html|/var/www/html/ilias|g' /etc/apache2/sites-enabled/000-default.conf \
  +#...so we do a http redirect to /ilias
  +&& rm /var/www/html/index.html \ 
  +&& echo "<?php header('Location: ilias'); ?>" > /var/www/html/index.php 
   
   ENV apachestartmode="FOREGROUND" \
       createdump="no" \
       restorefromdump="no"
   
  +EXPOSE 80 443	
  +	
   ENTRYPOINT ["/data/resources/base/entrypoint.sh"]
   
  -EXPOSE 80 443
  -
  -#run apache in foreground mode, otherwise docker would stop running image directly after having started
  -#CMD ["apache2ctl", "-D", "FOREGROUND"]
  -
  -
  -#now run with docker run -d -p 80:80 whiledo/ilias
  -#then start configuration on http://<your-IP>/ilias
  -
  
positive.code: FROM whiledo/letsencrypt-apache-ubuntu
  MAINTAINER Kevin Krummenauer <kevin@whiledo.de>
  
  #Install packages as described here http://www.ilias.de/docu/ilias.php?ref_id=367&from_page=6531&obj_id=56842&cmd=layout&cmdClass=illmpresentationgui&cmdNode=kd&baseClass=ilLMPresentationGUI
  #no mysql-client and no mysql-server, because they should run in a separate Docker container
  RUN apt-get update && apt-get install -y \
  	wget \
  	zip \
  #	apache2 \
  	php5 \
  	php5-gd \
  	php5-mysql \
  
negative.code: 	htmldoc \
  	imagemagick \
  	mysql-client \
  	sendmail
  #	openjdk-7-jdk #not needed most times, install it with apt-get install -y openjdk-7-jdk if you need 
  
  WORKDIR /data
  ADD resources /data/resources/base
  