anchor.diff:  
   # Execute start script to launch it.
   ENTRYPOINT ["/sbin/my_init"]
  -CMD ["/usr/local/bin/netbeans"]+CMD ["/usr/local/bin/netbeans"]
  +
  +# Expose ports.
  +EXPOSE 80 8080
positive.code: RUN apt-get -y upgrade
  
  # Auto accept oracle jdk license
  RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
  RUN apt-get install -y oracle-java8-installer ca-certificates libxext-dev libxrender-dev libxtst-dev mysql-client vim telnet dnsutils wget curl unzip git
  RUN update-alternatives --display java
  
  # Add JAVA_HOME to path.
  ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
  
  # Install Grails
  WORKDIR /
  
negative.code:     rm -rf /tmp/*
  
  # Clean up APT when done.
  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
  