anchor.diff:  
   RUN chmod u+s /bin/ping
   
  -RUN mkdir /tmp/nagios
  -RUN wget http://downloads.sourceforge.net/project/nagios/nagios-4.x/nagios-$VERSION/nagios-$VERSION.tar.gz --output-document=/tmp/nagios.tar.gz
  -RUN cd /tmp; tar -xaf /tmp/nagios.tar.gz --strip-components=1 --directory=/tmp/nagios/
  -
  -RUN mkdir /tmp/nagios-plugins
  -RUN wget http://www.nagios-plugins.org/download/nagios-plugins-$PLUGINS_VERSION.tar.gz --output-document=/tmp/nagios-plugins.tar.gz
  -RUN cd /tmp; tar -xaf /tmp/nagios-plugins.tar.gz --strip-components=1 --directory=/tmp/nagios-plugins/
  -
  +## Create Nagios specific users & groups
   RUN /usr/sbin/useradd -m nagios; \
   	/usr/sbin/groupadd nagcmd; \
   	/usr/sbin/usermod -a -G nagcmd nagios; \
   	/usr/sbin/usermod -a -G nagcmd apache;
   
  +## Download Nagios
  +RUN mkdir /tmp/nagios
  +RUN wget http://downloads.sourceforge.net/project/nagios/nagios-4.x/nagios-$VERSION/nagios-$VERSION.tar.gz --output-document=/tmp/nagios.tar.gz
  +RUN cd /tmp; tar -xaf /tmp/nagios.tar.gz --strip-components=1 --directory=/tmp/nagios/
  +
  +## Compile Nagios
   RUN cd /tmp/nagios; \
   	./configure --with-command-group=nagcmd; \
   	make all; \
  
positive.code: 	make install-init; \
  	make install-config; \
  	make install-commandmode; \
  	make install-webconf; \
  	htpasswd -bc /usr/local/nagios/etc/htpasswd.users $NAGIOS_USERNAME $NAGIOS_PASSWORD; \
  	echo "RedirectMatch ^/$ /nagios" > /etc/httpd/conf.d/redirect.conf;
  
  RUN cd /tmp/nagios-plugins; \
  	./configure --with-nagios-user=nagios --with-nagios-group=nagios; \
  	make all; \
  	make install;
  
  EXPOSE 80
  EXPOSE 5000
  
  RUN mv /usr/local/nagios/etc /config
  RUN ln -s /config /usr/local/nagios/etc
  VOLUME /config
  
  RUN mkdir -p /usr/local/nagios/var/spool/checkresults
  RUN mv /usr/local/nagios/var /data
  RUN ln -s /data /usr/local/nagios/var
  RUN chown -R nagios:nagcmd /data
  VOLUME /data
  
  RUN /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
  
  RUN wget https://bitbucket.org/collabsoft/mvn-repository/raw/882d7bffb03277c22bd5728fe224fee3e8422d4e/net/collabsoft/nagios-api/1.0.1/nagios-api-1.0.1-jar-with-dependencies.jar --output-document=/opt/nagios-api.jar
  COPY ./start.sh /opt/start.sh
  RUN chmod +x /opt/start.sh
  CMD /opt/start.sh
negative.code: ENV NAGIOS_USERNAME=nagiosadmin
  ENV NAGIOS_PASSWORD=nagiosadmin
  
  ## Install Nagios dependencies
  RUN yum -y update; yum clean all;
  RUN yum -y install \
  	java-1.8.0-openjdk \
  