anchor.diff:  ADD config/buddycloud-bind-zone-conf.local /tmp/buddycloud-bind-zone-conf.local
   RUN cat /tmp/buddycloud-bind-zone-conf.local >> /etc/bind/named.conf.local
   ADD config/buddycloud-bind-zone.conf /etc/bind/db.buddycloud.dev
  -RUN service bind9 restart
   
   # Setup XMPP-layer
   RUN apt-get install -y --no-install-recommends prosody lua-zlib lua-cyrussasl
   ADD config/prosody.cfg.lua /etc/prosody/prosody.cfg.lua
  -RUN service prosody restart
   
   # Setup buddycloud-layer
   RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends openjdk-7-jre-headless dbconfig-common
  
positive.code: # these are keys for *.buddycloud.dev. Prosody will also use them.
  ADD config/buddycloud.dev.cert.pem    /etc/apache2/certs/
  ADD config/buddycloud.dev.key.pem     /etc/apache2/certs/
  RUN service apache2 start
  
  # Setup http-api
  RUN apt-get install -y --no-install-recommends nodejs
  
negative.code: RUN a2enmod proxy_wstunnel rewrite ssl headers expires
  RUN a2dissite buddycloud-apache-virtual-host
  RUN a2ensite buddycloud-apache-virtual-host
  
  EXPOSE 80 443 5222 5269
  
  