anchor.diff:  ADD tasks ./tasks/
   ADD Procfile README.md Rakefile config.ru ./
   
  +# Datasources should be a persistent volume, owned by phantomdc
  +# All the above added files & directories should also be owned by phantomdc
   USER root
   RUN mkdir /datasources
   RUN chown -R phantomdc:phantomdc /datasources .
  
positive.code: USER phantomdc
  ENV HOME /home/phantomdc/
  
  # Get the rvm signing key
  RUN mkdir /tmp/gpg
  WORKDIR /tmp/gpg
  RUN chmod 700 /tmp/gpg
  RUN gpg --homedir /tmp/gpg --keyserver keys.gnupg.net --recv D39DC0E3
  RUN gpg --homedir /tmp/gpg --export 409B6B1796C275462A1703113804BB82D39DC0E3 | gpg --import -
  RUN rm -rf /tmp/gpg
  
  WORKDIR /home/phantomdc
  
  # Set up phantomjs
  RUN curl -Lo phantomjs.tar.bz2 https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
  RUN tar -jxvf phantomjs.tar.bz2 > /dev/null
  RUN rm phantomjs.tar.bz2
  
  RUN curl -O https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer
  RUN curl -O https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer.asc
  
negative.code: FROM debian
  
  MAINTAINER William Budington "bill@eff.org"
  
  RUN apt-get update && \
    apt-get install -y --no-install-recommends \
      curl \
      imagemagick \
      libmysql++-dev \
      libpq-dev \
      git \
      libqt5webkit5-dev \
      qt5-default \
      xvfb \
      lsof \
      sudo \
      bzip2 \
      ca-certificates && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* \
      /tmp/* \
      /var/tmp/*
  
  # Create a symlink to what will be the phantomjs exec path
  RUN ln -s /home/phantomdc/phantomjs-1.9.8-linux-x86_64/bin/phantomjs /bin/phantomjs
  
  # Create a new user, phantomdc
  RUN export uid=1000 gid=1000 && \
      mkdir -p /home/phantomdc && \
      echo "phantomdc:x:${uid}:${gid}:PhantomDC,,,:/home/phantomdc:/bin/bash" >> /etc/passwd && \
  