5
5
# pull request on our GitHub repository:
6
6
# https://github.com/kaczmarj/neurodocker
7
7
#
8
- # Timestamp: 2018-05-07 20:43:57
8
+ # Timestamp: 2018-05-14 11:52:36
9
9
10
10
FROM neurodebian:stretch-non-free
11
11
@@ -129,16 +129,16 @@ RUN conda create -y -q --name neuro python=3.6 \
129
129
# User-defined BASH instruction
130
130
RUN bash -c "source activate neuro && jupyter nbextension enable exercise2/main && jupyter nbextension enable spellchecker/main"
131
131
132
- # User-defined instruction
133
- RUN mkdir -p ~/.jupyter && echo c.NotebookApp.ip = \" 0.0.0.0\" > ~/.jupyter/jupyter_notebook_config.py
132
+ # User-defined BASH instruction
133
+ RUN bash -c " mkdir -p ~/.jupyter && echo c.NotebookApp.ip = \\ " 0.0.0.0\\ " > ~/.jupyter/jupyter_notebook_config.py"
134
134
135
135
USER root
136
136
137
- # User-defined instruction
138
- RUN mkdir /data && chmod 777 /data && chmod a+s /data
137
+ # User-defined BASH instruction
138
+ RUN bash -c " mkdir /data && chmod 777 /data && chmod a+s /data"
139
139
140
- # User-defined instruction
141
- RUN mkdir /output && chmod 777 /output && chmod a+s /output
140
+ # User-defined BASH instruction
141
+ RUN bash -c " mkdir /output && chmod 777 /output && chmod a+s /output"
142
142
143
143
USER neuro
144
144
@@ -150,10 +150,13 @@ RUN bash -c "curl -L https://files.osf.io/v1/resources/fvuh8/providers/osfstorag
150
150
151
151
COPY ["." , "/home/neuro/nipype_tutorial" ]
152
152
153
+ # User-defined BASH instruction
154
+ RUN bash -c "printf \" [user]\n\t name = miykael\n\t email = michaelnotter@hotmail.com\n\" > ~/.gitconfig"
155
+
153
156
USER root
154
157
155
- # User-defined instruction
156
- RUN chown -R neuro /home/neuro/nipype_tutorial
158
+ # User-defined BASH instruction
159
+ RUN bash -c " chown -R neuro /home/neuro/nipype_tutorial"
157
160
158
161
# User-defined BASH instruction
159
162
RUN bash -c "rm -rf /opt/conda/pkgs/*"
@@ -228,19 +231,19 @@ RUN echo '{ \
228
231
\n "source activate neuro && jupyter nbextension enable exercise2/main && jupyter nbextension enable spellchecker/main" \
229
232
\n ], \
230
233
\n [ \
231
- \n "run ", \
234
+ \n "run_bash ", \
232
235
\n "mkdir -p ~/.jupyter && echo c.NotebookApp.ip = \\\" 0.0.0.0\\\" > ~/.jupyter/jupyter_notebook_config.py" \
233
236
\n ], \
234
237
\n [ \
235
238
\n "user", \
236
239
\n "root" \
237
240
\n ], \
238
241
\n [ \
239
- \n "run ", \
242
+ \n "run_bash ", \
240
243
\n "mkdir /data && chmod 777 /data && chmod a+s /data" \
241
244
\n ], \
242
245
\n [ \
243
- \n "run ", \
246
+ \n "run_bash ", \
244
247
\n "mkdir /output && chmod 777 /output && chmod a+s /output" \
245
248
\n ], \
246
249
\n [ \
@@ -263,11 +266,15 @@ RUN echo '{ \
263
266
\n ] \
264
267
\n ], \
265
268
\n [ \
269
+ \n "run_bash", \
270
+ \n "printf \" [user]\\\n\\ tname = miykael\\\n\\ temail = michaelnotter@hotmail.com\\\n\" > ~/.gitconfig" \
271
+ \n ], \
272
+ \n [ \
266
273
\n "user", \
267
274
\n "root" \
268
275
\n ], \
269
276
\n [ \
270
- \n "run ", \
277
+ \n "run_bash ", \
271
278
\n "chown -R neuro /home/neuro/nipype_tutorial" \
272
279
\n ], \
273
280
\n [ \
@@ -289,6 +296,6 @@ RUN echo '{ \
289
296
\n ] \
290
297
\n ] \
291
298
\n ], \
292
- \n "generation_timestamp": "2018-05-07 20:43:57 ", \
299
+ \n "generation_timestamp": "2018-05-14 11:52:36 ", \
293
300
\n "neurodocker_version": "0.3.2" \
294
301
\n }' > /neurodocker/neurodocker_specs.json
0 commit comments