anchor.diff:  RUN mkdir -p /var/log/supervisor
   
   
  -
  -
  -
   # Do some stuff
  -RUN echo Europe/Vienna > /etc/timezone && dpkg-reconfigure tzdata
  -RUN apt-get -y --force-yes install at cron && apt-get clean
  +RUN echo Europe/Vienna > /etc/timezone && dpkg-reconfigure tzdata  \
  + && apt-get -y --force-yes install at cron && apt-get clean
   
   
   # sshd on port 2222 and allow root login / password = fhem!
  -RUN apt-get -y --force-yes install openssh-server && apt-get clean
  -RUN sed -i 's/Port 22/Port 2222/g' /etc/ssh/sshd_config
  -RUN sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config
  -RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/g' /etc/ssh/sshd_config
  -RUN echo "root:fhem!" | chpasswd
  -RUN /bin/rm  /etc/ssh/ssh_host_*
  +RUN apt-get -y --force-yes install openssh-server && apt-get clean   \
  + && sed -i 's/Port 22/Port 2222/g' /etc/ssh/sshd_config  \
  + && sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config \
  + && sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/g' /etc/ssh/sshd_config \
  + && echo "root:fhem!" | chpasswd \
  + && /bin/rm  /etc/ssh/ssh_host_*
   # RUN dpkg-reconfigure openssh-server
   
  +
  +# NFS client / autofs
  +RUN apt-get  -y --force-yes install nfs-common autofs && apt-get clean
  +RUN echo "/net /etc/auto.net --timeout=60" >> /etc/auto.master
  +
   RUN apt-get clean && apt-get autoremove
  -
   
   ENV RUNVAR fhem
   WORKDIR /root
  
positive.code: FROM debian:jessie
  MAINTAINER arminpipp <armin.pipp@gmail.com>
  
  ENV DEBIAN_FRONTEND noninteractive
  ENV TERM xterm
  
negative.code: WORKDIR /opt
  RUN mkdir /opt/yowsup-config
  RUN wget -N https://github.com/tgalal/yowsup/archive/master.zip
  RUN unzip -o master.zip && rm master.zip
  
  
  WORKDIR /opt
  # install fhem (debian paket)
  RUN wget http://fhem.de/fhem-5.7.deb
  RUN dpkg -i fhem-5.7.deb
  # RUN rm fhem.deb
  RUN echo 'fhem    ALL = NOPASSWD:ALL' >>/etc/sudoers
  RUN echo 'attr global pidfilename /var/run/fhem/fhem.pid' >> /opt/fhem/fhem.cfg
  