anchor.diff:      echo "phantomdc ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/phantomdc && \
       chmod 0440 /etc/sudoers.d/phantomdc && \
       chown ${uid}:${gid} -R /home/phantomdc
  -USER phantomdc
  -ENV HOME /home/phantomdc/
   
   # Get the rvm signing key in a secure way
   RUN mkdir /tmp/gpg && \
  
positive.code: WORKDIR /home/phantomdc/phantom-of-the-capitol
  
  ADD Gemfile Gemfile.lock .ruby-gemset .ruby-version ./
  RUN bash -l -c 'gem install bundler'
  RUN bash -l -c 'bundle install'
  
  RUN mkdir app config db public spec tasks
  
negative.code: # Datasources should be a persistent volume, owned by phantomdc
  # All the above added files & directories should also be owned by phantomdc
  USER root
  RUN chown -R phantomdc:phantomdc /home/phantomdc/
  RUN mkdir /datasources
  RUN chown -R phantomdc:phantomdc /datasources .
  VOLUME /datasources
  