anchor.diff:  WORKDIR /opt
   RUN mkdir /opt/yowsup-config
   RUN wget -N https://github.com/tgalal/yowsup/archive/master.zip
  -RUN unzip -o master.zip
  -RUN rm master.zip
  +RUN unzip -o master.zip && rm master.zip
   
   
   WORKDIR /opt
   # install fhem (debian paket)
  -RUN wget https://debian.fhem.de/fhem.deb
  -RUN dpkg -i fhem.deb
  +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
  
positive.code: 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
  
  
  # 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 dpkg-reconfigure openssh-server
  
  RUN apt-get clean && apt-get autoremove
  
  
  ENV RUNVAR fhem
  WORKDIR /root
  
negative.code: 
  ADD run.sh /root/run.sh
  ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
  
  RUN mkdir /_cfg  
  ADD volumedata.sh /_cfg/
  RUN chmod +x /root/run.sh  && chmod +x /_cfg/*.sh
  RUN /_cfg/volumedata.sh create /opt/fhem \
   && /_cfg/volumedata.sh create /opt/yowsup-config
  
  ENTRYPOINT ["./run.sh"]
  #CMD ["arg1"]
  
  # last add volumes
  VOLUME /opt/fhem   /opt/yowsup-config
  
  # End Dockerfile
  