-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (23 loc) · 888 Bytes
/
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
# Start with neurodebian trusty 16.04
FROM neurodebian:xenial
MAINTAINER Hua Wu <[email protected]>
# Install dependencies
RUN echo deb http:https://neurodeb.pirsquared.org data main contrib non-free >> /etc/apt/sources.list.d/neurodebian.sources.list
RUN echo deb http:https://neurodeb.pirsquared.org xenial main contrib non-free >> /etc/apt/sources.list.d/neurodebian.sources.list
RUN apt-get update && apt-get -y install \
python-dev python-pip \
afni
#fsl-5.0-core
RUN pip install --upgrade pip \
&& pip install numpy==1.16.4 \
&& pip install nibabel==2.1.0
#Run pip install nipype==0.10.0
# Make directory for flywheel spec
ENV FLYWHEEL /flywheel/v0
RUN mkdir -p ${FLYWHEEL}
COPY run.py ${FLYWHEEL}/run
COPY manifest.json ${FLYWHEEL}/manifest.json
# Put script into flywheel folder
COPY tsnr.py ${FLYWHEEL}/tsnr.py
# Set the entrypoint
ENTRYPOINT ["/flywheel/v0/run"]