anchor.diff:  MAINTAINER duncan@dickinson.name
   
   RUN apt-get update && \
  -    apt-get -y install sudo procps wget unzip mc gcc make
  +    apt-get -y install sudo wget unzip && \
  +    apt-get clean
   
  -RUN apt-get clean
  -
  -ENV GROOVY_VERSION 2.4.5
  -ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
  -ENV GROOVY_HOME /opt/groovy-${GROOVY_VERSION}
  -ENV PATH $PATH:$GROOVY_HOME/bin
  +ENV GROOVY_VERSION=2.4.5
  +ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 \
  +    GROOVY_HOME=/opt/groovy-${GROOVY_VERSION}
   
   # Install groovy
   ADD http://dl.bintray.com/groovy/maven/apache-groovy-binary-${GROOVY_VERSION}.zip /tmp/
  
positive.code: #Setup the local user
  RUN echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
  
  RUN useradd -u 5001 -c "Local user" -p user -m user --shell /bin/bash -G users,sudo
  RUN echo "secret\nsecret" | passwd user
  RUN usermod -u 1000 user
  
  USER user
  
  
negative.code: 
  RUN echo "export JAVA_HOME=$JAVA_HOME" >> /home/user/.bashrc
  RUN echo "export GROOVY_HOME=$GROOVY_HOME" >> /home/user/.bashrc
  RUN echo "export PATH=$GROOVY_HOME/bin:$JAVA_HOME/bin:$PATH" >> /home/user/.bashrc
  
  ENTRYPOINT ["/entrypoint.sh"]
  