anchor.diff:  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
  +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y 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/
  +ADD xos /opt/xos
  +
  +# 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
  
positive.code: # Cruft to workaround problems with migrations, should go away...
  RUN /opt/xos/scripts/opencloud remigrate
  
  
  # install Tosca engine
  RUN bash /opt/xos/tosca/install_tosca.sh
  
  # configure nginx
  RUN cp /opt/xos/nginx/xos.conf /etc/nginx/sites-enabled/default
  
  # Supervisor configuration
  RUN cp /opt/xos/configurations/opencloud/supervisord.conf  /etc/supervisor/conf.d/xos-all.conf
  
  EXPOSE 8000
  
  # Define default command.
  CMD /usr/bin/supervisord -c /etc/supervisor/conf.d/xos-all.conf
  
negative.code: FROM       ubuntu:14.04.3
  MAINTAINER Andy Bavier <acb@cs.princeton.edu>
  
  # XXX Workaround for docker bug:
  # https://github.com/docker/docker/issues/6345
  