anchor.diff:  ENV LC_CTYPE C.UTF-8
   RUN apt-get clean
   RUN apt-get update
  -RUN apt-get install -y vim supervisor postgresql postgresql-contrib postgresql-client libpq-dev libffi-dev nodejs node npm python-pip python-dev python3-dev build-essential
  +RUN apt-get install -y curl
  +# This needs to be broken up because curl isn't available at the start and we need curl to install nodejs
  +RUN curl -sL https://deb.nodesource.com/setup | sudo bash -
  +# Don't need to apt-get update first because the script above does it for us.
  +RUN apt-get install -y nodejs vim supervisor postgresql postgresql-contrib postgresql-client libpq-dev libffi-dev python-pip python-dev python3-dev build-essential
   RUN pip install --upgrade pip
   RUN pip install virtualenv
   
  
positive.code: # Make a supervisord process for actually running the commands.
  ADD docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
  
  # Create the alembic config and add a default admin user for development.
  RUN /etc/init.d/postgresql start && \
      . /venv/spacedock/bin/activate && \
      python -c 'from alembic.config import Config; from alembic import command; alembic_cfg = Config("alembic.ini"); command.stamp(alembic_cfg, "head"); exit()' && \
      alembic upgrade head && \
      python -c 'from KerbalStuff.objects import *; from KerbalStuff.database import db; u = User("admin", "admin@example.com", "development"); u.admin = True; u.confirmation = None; db.add(u); db.commit()'
  
  # Start postgres and run the app when the container starts.
  CMD ["/usr/bin/supervisord"]
  
negative.code: WORKDIR /opt/spacedock
  
  # Install coffee-script
  RUN npm install --global coffee-script
  
  # Create our database.
  # TODO: Rename from kerbalstuff to spacedock?
  RUN /etc/init.d/postgresql start && sudo -u postgres createdb kerbalstuff
  
  # Breaking up the installing of requirements like this so that it gets cached by docker
  ADD requirements.txt /opt/spacedock/requirements.txt
  