-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile
62 lines (56 loc) · 1.55 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
FROM bids/base_fsl:5.0.9-3
# MAINTAINER Greg Kiar <gkiar@jhu.edu>
RUN apt-get update -qq && \
apt-get install -qq -y --no-install-recommends \
ca-certificates \
python-dev \
python-setuptools \
python-numpy \
python-scipy \
zlib1g-dev \
python-matplotlib \
python-nose \
fsl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN easy_install pip
RUN apt-get update -qq && \
apt-get install -qq -y --no-install-recommends \
libpng-dev \
libfreetype6-dev \
pkg-config zip \
python-vtk && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip install \
cython \
numpy \
coveralls \
wget \
scipy==0.14 \
nibabel \
dipy \
networkx \
awscli \
boto3 \
plotly==1.12.9 \
python-dateutil==2.5 \
requests==2.5.3 \
pyvtk matplotlib==1.5.1 \
scikit-learn \
scikit-image \
nilearn \
ndmg==0.1.0
# Get atlases
RUN mkdir /ndmg_atlases && \
aws s3 cp s3://mrneurodata/data/resources/ndmg_atlases.zip /ndmg_atlases/ --no-sign-request && \
cd /ndmg_atlases && unzip /ndmg_atlases/ndmg_atlases.zip && \
rm /ndmg_atlases/ndmg_atlases.zip
COPY version /version
ENV MPLCONFIGDIR /tmp/matplotlib
ENV PYTHONWARNINGS ignore
RUN mkdir /data &&\
chmod -R 777 /data
RUN ldconfig
RUN chmod -R 777 /usr/local/bin/ndmg_bids
ENTRYPOINT ["ndmg_bids"]