Skip to content

Commit ee1b4d2

Browse files
committed
fix: neurodocker bf
1 parent 7b91c79 commit ee1b4d2

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

Dockerfile

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Generated by Neurodocker v0.3.2.
1+
# Generated by Neurodocker v0.3.2-1-gcfd3c6f.
22
#
33
# Thank you for using Neurodocker. If you discover any issues
44
# or ways to improve this software, please submit an issue or
55
# pull request on our GitHub repository:
66
# https://github.com/kaczmarj/neurodocker
77
#
8-
# Timestamp: 2017-11-29 21:24:26
8+
# Timestamp: 2017-12-01 15:38:42
99

1010
FROM debian:stretch
1111

@@ -33,8 +33,8 @@ RUN apt-get update -qq && apt-get install -yq --no-install-recommends \
3333
ENTRYPOINT ["/neurodocker/startup.sh"]
3434

3535
RUN apt-get update -qq \
36-
&& apt-get install -y -q --no-install-recommends gcc \
37-
git \
36+
&& apt-get install -y -q --no-install-recommends git \
37+
gcc \
3838
pigz \
3939
&& apt-get clean \
4040
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
@@ -52,8 +52,7 @@ RUN deps='cmake g++ gcc git make pigz zlib1g-dev' \
5252
&& mkdir dcm2niix/build && cd dcm2niix/build \
5353
&& cmake .. && make \
5454
&& make install \
55-
&& rm -rf /tmp/* \
56-
&& apt-get purge -y --auto-remove $deps
55+
&& rm -rf /tmp/*
5756

5857
COPY [".", "/src/heudiconv"]
5958

@@ -79,9 +78,8 @@ RUN conda create -y -q --name neuro python=2 \
7978
traits=4.6.0 \
8079
&& sync && conda clean -tipsy && sync \
8180
&& /bin/bash -c "source activate neuro \
82-
&& pip install -q --no-cache-dir datalad \
83-
https://github.com/moloney/dcmstack/tarball/master \
84-
/src/heudiconv" \
81+
&& pip install -q --no-cache-dir https://github.com/moloney/dcmstack/tarball/master \
82+
/src/heudiconv[all]" \
8583
&& sync \
8684
&& sed -i '$isource activate neuro' $ND_ENTRYPOINT
8785

@@ -101,8 +99,8 @@ RUN echo '{ \
10199
\n [ \
102100
\n "install", \
103101
\n [ \
104-
\n "gcc", \
105102
\n "git", \
103+
\n "gcc", \
106104
\n "pigz" \
107105
\n ] \
108106
\n ], \
@@ -124,7 +122,7 @@ RUN echo '{ \
124122
\n { \
125123
\n "env_name": "neuro", \
126124
\n "conda_install": "python=2 traits=4.6.0", \
127-
\n "pip_install": "datalad https://github.com/moloney/dcmstack/tarball/master /src/heudiconv", \
125+
\n "pip_install": "https://github.com/moloney/dcmstack/tarball/master /src/heudiconv[all]", \
128126
\n "activate": true \
129127
\n } \
130128
\n ], \
@@ -135,6 +133,6 @@ RUN echo '{ \
135133
\n ] \
136134
\n ] \
137135
\n ], \
138-
\n "generation_timestamp": "2017-11-29 21:24:26", \
139-
\n "neurodocker_version": "0.3.2" \
136+
\n "generation_timestamp": "2017-12-01 15:38:42", \
137+
\n "neurodocker_version": "0.3.2-1-gcfd3c6f" \
140138
\n}' > /neurodocker/neurodocker_specs.json

0 commit comments

Comments
 (0)