anchor.diff:      curl -sSL "https://dl.dropbox.com/s/2f4sui1z6lcgyek/ANTs-Linux-centos5_x86_64-v2.2.0-0740f91.tar.gz" \
       | tar -xzC $ANTSPATH --strip-components 1
   ENV PATH=$ANTSPATH:$PATH
  +
  +# Create a shared $HOME directory
  +WORKDIR /home/fmriprep
  +ENV HOME="/home/fmriprep"
   
   # Installing SVGO
   RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
  
positive.code: 
  # Installing Neurodebian packages (FSL, AFNI, git)
  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 /root/.neurodebian.gpg && \
      (apt-key adv --refresh-keys --keyserver hkp://ha.pool.sks-keyservers.net 0xA5D32F012649A5A9 || true)
  
  RUN apt-get update && \
  
negative.code:     OMP_NUM_THREADS=1
  
  # Precaching atlases
  WORKDIR /home/fmriprep/.cache
  RUN datalad install -r https://github.com/templateflow/templateflow.git
  WORKDIR /home/fmriprep/.cache/templateflow
  RUN git config user.name "fMRIPrep User" && \
      git config user.email "mail@domain.tld"
  RUN datalad get tpl-MNI152NLin2009cAsym/* \
                  tpl-MNI152Lin/* \
                  tpl-OASIS30ANTs/* \
                  tpl-NKI/* && \
      rm -rf /home/fmriprep/.cache/datalad
  RUN git -C . config annex.merge-annex-branches false && \
      git -C tpl-MNI152NLin2009cAsym config annex.merge-annex-branches false && \
      git -C tpl-MNI152Lin config annex.merge-annex-branches false && \
      git -C tpl-OASIS30ANTs config annex.merge-annex-branches false && \
      git -C tpl-NKI config annex.merge-annex-branches false
  
  # Installing dev requirements (packages that are not in pypi)
  WORKDIR /src/
  COPY requirements.txt requirements.txt
  RUN pip install --no-cache-dir -r requirements.txt
  
  # Installing FMRIPREP
  COPY . /src/fmriprep
  