anchor.diff:  RUN mkdir /etc/ssl/private-copy; mv /etc/ssl/private/* /etc/ssl/private-copy/; rm -r /etc/ssl/private; mv /etc/ssl/private-copy /etc/ssl/private; chmod -R 0700 /etc/ssl/private; chown -R postgres /etc/ssl/private
   
   # Set postgres password to match default value in settings.py
  -RUN service postgresql start && sudo -u postgres psql -c "alter user postgres with password 'password';"
  +RUN service postgresql start; sudo -u postgres psql -c "alter user postgres with password 'password';"
   
   # Turn DEBUG on so that devel server will serve static files
   #    (not necessary if --insecure is passed to 'manage.py runserver')
  
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
  