anchor.diff:  #--------Environment Variables-----------------------------------------------#
   ENV NDMG_URL https://github.com/neurodata/ndmg.git
   ENV ATLASES http://openconnecto.me/mrdata/share/eric_atlases/eric_atlases.zip
  -ENV AFNI_URL https://afni.nimh.nih.gov/pub/dist/bin/linux_fedora_21_64/@update.afni.binaries
  -ENV LIBXP_URL http://mirrors.kernel.org/ubuntu/pool/main/libx/libxp/libxp6_1.0.2-1ubuntu1_amd64.deb
  -
  +ENV AFNI_URL https://files.osf.io/v1/resources/fvuh8/providers/osfstorage/5a0dd9a7b83f69027512a12b
  +ENV LIBXP_URL http://mirrors.kernel.org/debian/pool/main/libx/libxp/libxp6_1.0.2-2_amd64.deb 
  +ENV LIBPNG_URL http://mirrors.kernel.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1%2Bdeb7u2_amd64.deb
   
   #--------Initial Configuration-----------------------------------------------#
   # download/install basic dependencies, and set up python
  
positive.code: #---------AFNI INSTALL--------------------------------------------------------#
  # setup of AFNI, which provides robust modifications of many of neuroimaging
  # algorithms
  RUN \
      wget -c $LIBXP_URL && \
      dpkg -i `basename $LIBXP_URL` && \
      apt-get install -f && \
      curl -O $AFNI_URL && \
      chsh -s /usr/bin/tcsh && \
      tcsh @update.afni.binaries -package linux_openmp_64 -do_extras && \
      chsh -s /bin/bash && \
      cp /root/abin/AFNI.afnirc /root/.afnirc && \
      echo "PATH=$PATH:/root/abin" >> ~/.bashrc
  
  
  #--------NDMG SETUP-----------------------------------------------------------#
  # setup of python dependencies for ndmg itself, as well as file dependencies
  
negative.code:     pandas cython
  
  RUN \
      git clone -b m3r-release $NDMG_URL /ndmg && \
      cd /ndmg && \
      python setup.py install 
  
  