anchor.diff:  MAINTAINER novidee
   
   # Set the application name
  -ENV APPLICATION domos
  +ENV APPLICATION rethinkdb-compilation-env
   
   # explicitly set user/group IDs
   RUN useradd -ms /bin/bash jedi
  
positive.code:   curl -L https://github.com/rethinkdb/rethinkdb/archive/v2.3.5.tar.gz -o rethinkdb-2.3.5.tar.gz && \
    tar zxvf rethinkdb-2.3.5.tar.gz && \
    cd rethinkdb-2.3.5 && \
    rm -rf external/v8*
  #  ./configure --allow-fetch --with-system-malloc --ccache && \
  #  UBUNTU_RELEASE=trusty SIGN_PACKAGE=0 make build-deb -j `nproc`
  
  USER root
  
negative.code:   python-dev \
    python-pip \
    less \
    sudo \
    bc
  
   RUN libboost-dev libssl-dev python libncurses5-dev libcurl4-openssl-dev protobuf-compiler libprotobuf-dev
  
  # RethinkDB dependencies
  RUN apt-get install -y \
    make \
    debhelper \
    ccache \
    m4 \
    g++ \
    --no-install-recommends
  
  RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.0/install.sh | bash
  
  #
  # RPi tool chain
  #
  USER jedi
  # rethinkgb can't compile node-0.12.2 on ARM apparently so installing it with nvm
  RUN nvm install 0.12.2
  RUN cd /home/jedi && \
    git clone https://github.com/raspberrypi/tools.git && \
    mv tools rpi-toolchain && \
  