anchor.diff:  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
  +#Install packages as described here http://www.ilias.de/docu/goto_docu_pg_64272_367.html
   #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 \
  +#	apache2 \ #already installed in baseimage
   	php5 \
   	php5-gd \
   	php5-mysql \
  
positive.code: 	htmldoc \
  	imagemagick \
  	mysql-client \
  	sendmail \
  	openjdk-7-jdk
  
  WORKDIR /data
  ADD resources /data/resources/base
  
negative.code: && chown www-data:www-data /data/resources/base/restoreilias.sh \
  && chmod 751 /data/resources/base/restoreilias.sh \
  
  #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"]
  
  