anchor.diff:      OMP_NUM_THREADS=1
   
   # Precaching atlases
  -RUN git config --global user.name "fMRIPrep User" && \
  -    git config --global user.email "mail@domain.tld"
  -ENV TEMPLATEFLOW_HOME="/opt/templateflow"
  -WORKDIR /opt
  +WORKDIR /home/fmriprep/.cache
   RUN datalad install -r https://github.com/templateflow/templateflow.git
  -RUN datalad get $TEMPLATEFLOW_HOME/tpl-MNI152NLin2009cAsym/* \
  -                $TEMPLATEFLOW_HOME/tpl-MNI152Lin/* \
  -                $TEMPLATEFLOW_HOME/tpl-OASIS30ANTs/* \
  -                $TEMPLATEFLOW_HOME/tpl-NKI/*
  -RUN git -C $TEMPLATEFLOW_HOME config annex.merge-annex-branches false && \
  -    git -C $TEMPLATEFLOW_HOME/tpl-MNI152NLin2009cAsym config annex.merge-annex-branches false && \
  -    git -C $TEMPLATEFLOW_HOME/tpl-MNI152Lin config annex.merge-annex-branches false && \
  -    git -C $TEMPLATEFLOW_HOME/tpl-OASIS30ANTs config annex.merge-annex-branches false && \
  -    git -C $TEMPLATEFLOW_HOME/tpl-NKI config annex.merge-annex-branches false
  +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 -r requirements.txt && \
  -    rm -rf ~/.cache/pip
  +RUN pip install --no-cache-dir -r requirements.txt
   
   # Installing FMRIPREP
   COPY . /src/fmriprep
  
positive.code: FROM ubuntu:xenial-20161213
  
  # Pre-cache neurodebian key
  COPY docker/files/neurodebian.gpg /root/.neurodebian.gpg
  
  # Prepare environment
  RUN apt-get update && \
  
negative.code:     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 -
  