anchor.diff:  USER moses
   WORKDIR /home/moses
   CMD bash
  -
  
positive.code:                        libboost-math-dev \
                         libboost-mpi-dev
  
  # Install Utilities
  RUN apt-get -y install git build-essential cmake sudo
  
  # Build and Install moses
  WORKDIR /tmp/
  ## A full clone is required because OC2MOSES.sh checks for an old tag.
  RUN git clone https://github.com/opencog/opencog.git
  RUN ./opencog/scripts/learning/moses/extract_moses/OC2MOSES.sh moses
  RUN mkdir moses/build ; cd moses/build ; cmake .. ; \
      make -j$(nproc) ; make install ; ldconfig
  
  # Create and switch user. The user is privileged, with no password required.
  # That is you can use sudo.
  
negative.code: 
  # Note:
  # 1. Since the build on r-base offical image R is installed on the system
  # 1. R is installed because there is an r binding being developed
  #    @ https://github.com/mjsduncan/Rmoses . Since there is no cran
  #    package for it devtools should be used. An Rscript has to be written (I guess)
  # 2. Step 2 above assumes you are running the command from a directory
  # containing some data. Instead of $PWD you could use abslute path like
  # $HOME/path/to/data/
  
  FROM ubuntu:14.04
  RUN apt-get update ; apt-get -y upgrade ; apt-get -y autoclean
  
  # Install dependencies
  RUN apt-get install -y libboost-date-time-dev \
  