Skip to content

Commit

Permalink
Don't install pip before installing AFNI (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Feb 14, 2023
1 parent 6a52040 commit 9ea6444
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ RUN conda install -y \
mkl-service=2.3 \
numpy=1.18.1 \
pandas=1.2 \
pip=21.0 \
scikit-learn=0.24 \
scipy=1.6 \
traits=6.2 \
Expand Down Expand Up @@ -150,6 +149,9 @@ RUN useradd -m -s /bin/bash -G users xcp_d
WORKDIR /home/xcp_d
ENV HOME="/home/xcp_d"

# Update pip, which AFNI installs (probably)
RUN pip install --no-cache-dir --upgrade pip

# Precaching fonts, set 'Agg' as default backend for matplotlib
RUN python -c "from matplotlib import font_manager" && \
sed -i 's/\(backend *: \).*$/\1Agg/g' $( python -c "import matplotlib; print(matplotlib.matplotlib_fname())" )
Expand Down

0 comments on commit 9ea6444

Please sign in to comment.