anchor.diff:  
   USER root
   EXPOSE 8080 29418
  -#CMD ["/usr/bin/supervisord"]
  -CMD ["/usr/sbin/service","supervisor","start"]+CMD ["/usr/sbin/service","supervisor","start"]
  
positive.code: #
  # VERSION               0.0.1
  
  #FROM  ubuntu
  FROM  edgester/ubuntu-jdk
  
  MAINTAINER Jason W. Edgecombe <jason@rampaginggek.com>
  
  
negative.code: 
  RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
  
  # comment out the following line if you don't have a local deb proxy
  RUN IPADDR=$( ip route | grep default | awk '{print $3}' ) ;echo "Acquire::http { Proxy \"http://$IPADDR:3142\"; };"| tee -a /etc/apt/apt.conf.d/01proxy
  
  RUN apt-get update
  RUN apt-get upgrade
  
  RUN useradd -m $GERRIT_USER
  RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-6-jre-headless sudo git-core supervisor vim-tiny
  RUN mkdir -p /var/log/supervisor
  
  ADD http://gerrit-releases.storage.googleapis.com/gerrit-2.7.war /tmp/gerrit.war
  ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
  
  RUN mkdir -p $GERRIT_HOME
  RUN chown ${GERRIT_USER}.${GERRIT_USER} $GERRIT_HOME
  RUN mv /tmp/gerrit.war $GERRIT_WAR
  RUN chown -R ${GERRIT_USER}.${GERRIT_USER} $GERRIT_HOME
  RUN rm -f /etc/apt/apt.conf.d/01proxy
  
  USER gerrit
  RUN java -jar $GERRIT_WAR init --batch -d $GERRIT_HOME
  