This repository was archived by the owner on Dec 27, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +22
-9
lines changed Expand file tree Collapse file tree 4 files changed +22
-9
lines changed Original file line number Diff line number Diff line change
1
+ FROM dmriprep:dev
2
+
3
+ ADD . /dmriprep
4
+ WORKDIR /dmriprep
5
+ RUN python /dmriprep/setup.py install
Original file line number Diff line number Diff line change @@ -86,3 +86,9 @@ dist: clean ## builds source and wheel package
86
86
87
87
install : clean # # install the package to the active Python's site-packages
88
88
python setup.py install
89
+
90
+ docker-dev : # # build the development environment
91
+ docker build -t dmriprep:dev -f docker/Dockerfile docker/.
92
+
93
+ docker : docker-dev
94
+ docker build -t dmriprep:prod -f Dockerfile-dmriprep .
Original file line number Diff line number Diff line change @@ -97,15 +97,6 @@ RUN export PATH="/opt/miniconda-latest/bin:$PATH" \
97
97
# boto3 \
98
98
# && sync && conda clean -tipsy && sync
99
99
100
- ADD environment.yml environment.yml
101
- RUN apt-get update && apt-get install -y git gcc
102
- RUN conda env create -f environment.yml
103
-
104
- # && sync && conda clean -tipsy && sync
105
-
106
-
107
- RUN sed -i '$isource activate dmriprep' $ND_ENTRYPOINT
108
-
109
100
110
101
ENV FREESURFER_HOME="/opt/freesurfer-6.0.0" \
111
102
PATH="/opt/freesurfer-6.0.0/bin:$PATH"
@@ -141,6 +132,16 @@ RUN apt-get update -qq \
141
132
142
133
COPY ./license.txt /opt/freesurfer-6.0.0/license.txt
143
134
135
+ ADD environment.yml environment.yml
136
+ RUN apt-get update && apt-get install -y git gcc
137
+ RUN conda env create -f environment.yml
138
+
139
+ # && sync && conda clean -tipsy && sync
140
+
141
+
142
+ RUN sed -i '$isource activate dmriprep' $ND_ENTRYPOINT
143
+
144
+
144
145
RUN echo '{ \
145
146
\n "pkg_manager": "apt", \
146
147
\n "instructions": [ \
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ dependencies:
6
6
- dipy
7
7
- boto3
8
8
- graphviz
9
+ - ipython
9
10
- pip :
10
11
- " --editable=git+https://github.com/nipy/nipype@fa0a101fec2d010dcb68910000f66d7c64e5d03e#egg=nipype"
11
12
- bids
You can’t perform that action at this time.
0 commit comments