anchor.diff:  RUN tar -xf ${IDEA_TARBALL} && \
       rm -rf *.tar.gz && \
       mv idea* idea
  +
  +# Install specific firefox version (for Selenium tests)
  +# This is only required when selenium lags behind firefox versions
  +# Ordinarily you could just do an apt-get install firefox
  +ADD ${FIREFOX_URL} /usr/local/
  +RUN tar -jxf ${FIREFOX_TARBALL} && \
  +    rm -rf *.tar.bz2
  +# Install firefox dependencies
  +RUN apt-get -y install $(apt-cache depends firefox | grep Depends | sed "s/.*ends:\ //" | tr '\n' ' ')
   
   # Clean up APT when done.
   RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  
positive.code: 
  # Have a variable for the tarball to ease maintenance.
  ENV IDEA_TARBALL ideaIC-14.0.3.tar.gz
  
  # Install Git & Maven3
  RUN add-apt-repository ppa:andrei-pozolotin/maven3 && \
  
negative.code: EXPOSE 8080
  
  # Add intellij binaries to path
  ENV PATH $PATH:/usr/local/idea/bin:/usr/local/firefox
  
  # Set up Intellij IDEA to add custom config and system path properties.
  RUN sed -i 's/# idea.config.path=/idea.config.path=/g' /usr/local/idea/bin/idea.properties
  