anchor.diff:      rm -rf /tmp/*
   
   # Clean up APT when done.
  -RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  +RUN apt-get autoremove -yq && \
  +    apt-get clean -yq && \
  +    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
   
   # Add start script
   ADD run.sh /usr/local/bin/netbeans
  
positive.code: FROM phusion/baseimage:0.9.16
  MAINTAINER Yang Leijun <yang.leijun@gmail.com>
  
  # Set customizable env vars defaults.
  ENV GRAILS_VERSION 2.4.4
  
  # Download Install Dependencies
  RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
  
negative.code: 
  # Execute start script to launch it.
  ENTRYPOINT ["/sbin/my_init"]
  CMD ["/usr/local/bin/netbeans"]
  
  # Expose ports.
  EXPOSE 80 8080