Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #348 from a3sha2/master
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
a3sha2 committed Jun 27, 2020
2 parents d5843fb + 3b89d44 commit 67dbc34
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM neurodebian:stretch

FROM python:3.7

ARG DEBIAN_FRONTEND="noninteractive"

ENV LANG="en_US.UTF-8" \
Expand Down Expand Up @@ -57,9 +55,29 @@ RUN export ND_ENTRYPOINT="/neurodocker/startup.sh" \
#&& cd /usr/local/bin \
#&& ln -s /usr/bin/python3 python \
#&& pip3 install --upgrade pip
RUN pip install --no-cache-dir numpy pandas traits scikit-learn
RUN pip install --no-cache-dir nipype nibabel niworkflows nilearn matplotlib
RUN rm -rf ~/.cache/pip/* && sync
RUN apg-get install libgsl0-dev
ENV PATH="/usr/local/miniconda/bin:$PATH" \
CPATH="/usr/local/miniconda/include/:$CPATH" \
LANG="C.UTF-8" \
LC_ALL="C.UTF-8" \
PYTHONNOUSERSITE=1

RUN conda install -y python=3.7 \
pip=19.1 \
mkl=2018.0.3 \
mkl-service \
numpy=1.15.4 \
scipy=1.4.0 \
scikit-learn=0.19.1 \
matplotlib=2.2.2 \
pandas=0.23.4 \
libxml2=2.9.8 \
libxslt=1.1.32 \
zlib; sync && \
chmod -R a+rX /usr/local/miniconda; sync && \
chmod +x /usr/local/miniconda/bin/*; sync && \
conda build purge-all; sync && \
conda clean -tipsy && sync
RUN apt-get update && apt-get install multiarch-support
RUN apt-get update

Expand Down

0 comments on commit 67dbc34

Please sign in to comment.