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: #       allows the RUN command to span multiple lines.
  RUN /etc/init.d/postgresql start && psql --command "CREATE USER docker WITH SUPERUSER PASSWORD 'docker';" &&\
      createdb -O docker docker
  
  # Adjust PostgreSQL configuration so that remote connections to the
  # database are possible.
  RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/9.3/main/pg_hba.conf
  # And add ``listen_addresses`` to ``/etc/postgresql/9.3/main/postgresql.conf``
  RUN echo "listen_addresses='*'" >> /etc/postgresql/9.3/main/postgresql.conf
  
  # Switch back to root
  USER root
  
  
negative.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/
  
  # Setup http-api
  RUN apt-get install -y --no-install-recommends nodejs
  