-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
38 lines (37 loc) · 1.21 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM continuumio/miniconda3:4.7.10
RUN apt-get update && apt-get install -y --no-install-recommends \
g++=4:8.3.0-1 \
libblas-dev=3.8.0-2 \
python-dev=2.7.16-1 \
build-essential=12.6 \
make=4.2.1-1.2 \
libigraph0-dev=0.7.1-4 \
curl=7.64.0-4 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Installing ANTs 2.2.0 (NeuroDocker build)
ENV ANTSPATH=/usr/lib/ants
RUN mkdir -p $ANTSPATH && \
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
# Python installs
RUN pip install --upgrade pip==19.3.1
RUN pip install bctpy==0.5.0
RUN conda install mkl=2019.4 mkl-service=2.3.0 -y
RUN pip install scikit-learn==0.21.3
RUN pip install pymc3==3.7
RUN pip install matplotlib==3.1.1
RUN pip install plotje==1.1
RUN pip install python-igraph==0.7.0
RUN pip install leidenalg==0.7.0
RUN pip install templateflow==0.4.1
RUN pip install nipype==1.3.0-rc1
RUN pip install nibabel==2.2.
RUN pip install nilearn==0.6.0a0
RUN pip install arviz==0.3.3
RUN pip install seaborn==0.10.0
# add user and create a default working directory
RUN useradd -ms /bin/bash esfmri
WORKDIR /home/esfmri
#ENV HOME="/home/esfmri"