anchor.diff:      wget \
       curl \
       > /dev/null \
  -  && apt-get -qq clean
  +  && apt-get -qq clean && \
  +  rm -rf /var/lib/apt/lists/*
   
   # Install coap-cli
   RUN npm -q install coap-cli -g \
  
positive.code: LABEL maintainer="Felipe Lalanne <flalanne@niclabs.cl>"
  
  ENV DEBIAN_FRONTEND noninteractive
  ARG username=user
  
  # Tools
  RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
  
negative.code: ENV NRF52_SDK_ROOT /usr/nrf52-sdk
  
  # Upgrade pip to latest version
  # Install IoT-Lab cli-tools and ssh-cli-tools
  RUN pip -q install --upgrade pip
  RUN pip -q install setuptools && \
          pip install iotlabcli==2.5.4 && iotlabsshcli==0.2.3
  
  # Add a script that we will use to correct permissions after running certain commands
  ADD fix-permissions /usr/local/bin/
  
  # Set environment variables
  ENV JAVA_HOME           /usr/lib/jvm/default-java
  ENV HOME                /home/${USER}
  ENV WORK                ${HOME}/work
  ENV CONTIKI             ${HOME}/contiki
  ENV COOJA               ${CONTIKI}/tools/cooja
  ENV                     PATH="${HOME}:${PATH}"
  
  # Create user, enable X forwarding, add to group dialout
  # -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix
  RUN useradd -m -s /bin/bash -N -u $UID $USER && \
      echo "${USER} ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers && \
      chmod 0440 /etc/sudoers && \
      chmod g+w /etc/passwd && \
      usermod -aG dialout $USER && \
      fix-permissions $HOME
  
  # Set user and workdir for what comes next
  USER ${UID}
  WORKDIR ${HOME}
  
  # Create Cooja shortcut and work directory
  RUN echo "#!/bin/bash\nant -Dbasedir=${COOJA} -f ${COOJA}/build.xml run" > ${HOME}/cooja && \
    chmod +x ${HOME}/cooja && \
    mkdir $WORK
  
  # Download, build and install Renode
  RUN git clone --quiet https://github.com/renode/renode.git \
  