anchor.diff:  ENV MNI_PERL5LIB /opt/freesurfer/mni/lib/perl5/5.8.5
   ENV PATH /opt/freesurfer/bin:/opt/freesurfer/fsfast/bin:/opt/freesurfer/tktools:/opt/freesurfer/mni/bin:$PATH
   RUN echo "cHJpbnRmICJrcnp5c3p0b2YuZ29yZ29sZXdza2lAZ21haWwuY29tXG41MTcyXG4gKkN2dW12RVYzelRmZ1xuRlM1Si8yYzFhZ2c0RVxuIiA+IC9vcHQvZnJlZXN1cmZlci9saWNlbnNlLnR4dAo=" | base64 -d | sh
  +
  +# Installing Neurodebian packages (FSL, AFNI, git)
  +RUN apt-get install -y --no-install-recommends \
  +                    fsl-core=5.0.9-1~nd+1+nd16.04+1 \
  +                    afni=16.2.07~dfsg.1-2~nd16.04+1
  +
  +ENV FSLDIR=/usr/share/fsl/5.0
  +ENV FSLOUTPUTTYPE=NIFTI_GZ
  +ENV PATH=/usr/lib/fsl/5.0:$PATH
  +ENV FSLMULTIFILEQUIT=TRUE
  +ENV POSSUMDIR=/usr/share/fsl/5.0
  +ENV LD_LIBRARY_PATH=/usr/lib/fsl/5.0:$LD_LIBRARY_PATH
  +ENV FSLTCLSH=/usr/bin/tclsh
  +ENV FSLWISH=/usr/bin/wish
  +ENV FSLOUTPUTTYPE=NIFTI_GZ
  +ENV AFNI_MODELPATH=/usr/lib/afni/models
  +ENV AFNI_IMSAVE_WARNINGS=NO
  +ENV AFNI_TTATLAS_DATASET=/usr/share/afni/atlases
  +ENV AFNI_PLUGINPATH=/usr/lib/afni/plugins
  +ENV PATH=/usr/lib/afni/bin:$PATH
   
   # Installing and setting up ANTs
   RUN mkdir -p /opt/ants && \
  
positive.code: # Precaching fonts
  RUN python -c "from matplotlib import font_manager"
  
  # Unless otherwise specified each process should only use one thread - nipype
  # will handle parallelization
  ENV MKL_NUM_THREADS=1
  
negative.code: ENV FS_OVERRIDE 0
  ENV FIX_VERTEX_AREA=
  ENV SUBJECTS_DIR /opt/freesurfer/subjects
  ENV FUNCTIONALS_DIR /opt/freesurfer/sessions
  ENV FSF_OUTPUT_FORMAT nii.gz
  ENV MNI_DIR /opt/freesurfer/mni
  ENV LOCAL_DIR /opt/freesurfer/local
  