anchor.diff:  
   # Set environment variables.
   ENV HOME /root
  -ENV TOSCA_CONFIG_PATH=/opt/xos/configurations/opencloud/opencloud.tosca
   
   # XXX Workaround for docker bug:
   # https://github.com/docker/docker/issues/6345
  
positive.code: RUN ln -s /usr/local/share/phantomjs-1.7.0-linux-x86_64 /usr/local/share/phantomjs
  RUN ln -s /usr/local/share/phantomjs/bin/phantomjs /bin/phantomjs
  
  # Supervisor
  ADD observer.conf /etc/supervisor/conf.d/
  
  # Get XOS
  RUN git clone git://github.com/open-cloud/xos.git /tmp/xos && mv /tmp/xos/xos /opt/
  
  # Initscript is broken in Ubuntu
  #ADD observer-initscript /etc/init.d/xosobserver
  
  RUN chmod +x /opt/xos/scripts/opencloud
  RUN /opt/xos/scripts/opencloud genkeys
  
  # Workaround for AUFS issue
  
negative.code: RUN git clone -b release1.8.2 git://github.com/ansible/ansible-modules-extras.git /opt/ansible/v2/ansible/modules/extras
  RUN git clone git://github.com/sb98052/ansible-modules-core.git /opt/ansible/lib/ansible/modules/core
  RUN git clone git://github.com/sb98052/ansible-modules-core.git /opt/ansible/v2/ansible/modules/core
  # git clone uses cached copy, doesn't pick up latest
  RUN git -C /opt/ansible pull
  RUN git -C /opt/ansible/lib/ansible/modules/core pull
  RUN git -C /opt/ansible/v2/ansible/modules/core pull
  ADD ansible-hosts /etc/ansible/hosts
  
  
  # For Observer
  ADD http://code.jquery.com/jquery-1.9.1.min.js /usr/local/lib/python2.7/dist-packages/suit/static/suit/js/
  RUN git clone git://git.planet-lab.org/fofum.git /tmp/fofum
  RUN cd /tmp/fofum; python setup.py install
  RUN rm -rf /tmp/fofum
  