anchor.diff:  ADD root/.scripts /root/.scripts
   ADD root/.nipype /root/.nipype
   ADD patches /root/patches
  -
  -#ADD $MATLAB_HOST_DIR $MATLAB_DIR
  -#ADD $SPM_HOST_DIR $SPM_DIR
   
   # Define working directory.
   WORKDIR /root
  
positive.code:     unzip spm12.zip && \
      rm -rf spm12.zip
  
  
  RUN \
      echo "export MATLAB_DIR=${MATLAB_DIR}" >> $BASHRC  && \
      echo "addpath ${MATLAB_DIR}/bin" >> $BASHRC
  
  #-------------------------------------------------------------------------------
  # Python environment with virtualenvwrapper
  #-------------------------------------------------------------------------------
  
negative.code: ENV FORCE_SPMMCR 1
  
  RUN \
      echo "export SPMMCRCMD='$SPM_DIR/run_spm12.sh /opt/mcr/v85/ script'" >> $BASHRC && \
      echo "export FORCE_SPMMCR=1" >> $BASHRC && \
      echo "addlibpath /opt/mcr/v85/runtime/glnxa64" >> $BASHRC && \
  