anchor.diff:      AROMA_VERSION="0.4.5"
   
   # Installing and setting up miniconda
  -RUN curl -sSLO https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh && \
  -    bash Miniconda3-4.5.11-Linux-x86_64.sh -b -p /usr/local/miniconda && \
  -    rm Miniconda3-4.5.11-Linux-x86_64.sh
  +RUN curl -sSLO https://repo.continuum.io/miniconda/Miniconda3-py38_4.9.2-Linux-x86_64.sh && \
  +    bash Miniconda3-py38_4.9.2-Linux-x86_64.sh -b -p /usr/local/miniconda && \
  +    rm Miniconda3-py38_4.9.2-Linux-x86_64.sh
   
   # Set CPATH for packages relying on compiled libs (e.g. indexed_gzip)
   ENV PATH="/usr/local/miniconda/bin:$PATH" \
  
positive.code:     MNI_PERL5LIB="$MINC_LIB_DIR/perl5/5.8.5" \
      PATH="$FREESURFER_HOME/bin:$FSFAST_HOME/bin:$FREESURFER_HOME/tktools:$MINC_BIN_DIR:$PATH"
  
  # Installing Neurodebian packages (FSL, AFNI, git-annex)
  RUN curl -sSL "http://neuro.debian.net/lists/$( lsb_release -c | cut -f2 ).us-ca.full" >> /etc/apt/sources.list.d/neurodebian.sources.list && \
      apt-key add /usr/local/etc/neurodebian.gpg && \
      (apt-key adv --refresh-keys --keyserver hkp://ha.pool.sks-keyservers.net 0xA5D32F012649A5A9 || true)
  RUN apt-get update && \
      apt-get install -y --no-install-recommends \
                      fsl-core=5.0.9-5~nd16.04+1 \
                      fsl-mni152-templates=5.0.7-2 \
                      afni=16.2.07~dfsg.1-5~nd16.04+1 \
                      convert3d \
                      connectome-workbench=1.3.2-2~nd16.04+1 \
                      git-annex-standalone && \
      apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  
  # Setting FSL and AFNI envvars
  ENV FSLDIR="/usr/share/fsl/5.0" \
      FSLOUTPUTTYPE="NIFTI_GZ" \
      FSLMULTIFILEQUIT="TRUE" \
      POSSUMDIR="/usr/share/fsl/5.0" \
      FSLTCLSH="/usr/bin/tclsh" \
      FSLWISH="/usr/bin/wish" \
      AFNI_MODELPATH="/usr/lib/afni/models" \
      AFNI_IMSAVE_WARNINGS="NO" \
      AFNI_TTATLAS_DATASET="/usr/share/afni/atlases" \
      AFNI_PLUGINPATH="/usr/lib/afni/plugins" \
      PATH="/usr/lib/fsl/5.0:/usr/lib/afni/bin:$PATH" \
      LD_LIBRARY_PATH="/usr/lib/fsl/5.0:$LD_LIBRARY_PATH"
  
  # Installing ANTs 2.3.4 (NeuroDocker build)
  ENV ANTSPATH="/usr/lib/ants" \
  
negative.code:                     autoconf \
                      libtool \
                      pkg-config \
                      graphviz \
                      pandoc \
                      git && \
      curl -sSL https://deb.nodesource.com/setup_14.x | bash - && \
      apt-get install -y --no-install-recommends \
                      nodejs && \
      apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  
  # Installing freesurfer
  RUN curl -sSL https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.1/freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.1.tar.gz \
      | tar zxv --no-same-owner -C /opt \
      --exclude='freesurfer/diffusion' \
      --exclude='freesurfer/docs' \
      --exclude='freesurfer/fsfast' \
  