Skip to content

Commit 33de1f7

Browse files
committed
BF: heudiconv entrypoint now allows args
1 parent ee1b4d2 commit 33de1f7

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# pull request on our GitHub repository:
66
# https://github.com/kaczmarj/neurodocker
77
#
8-
# Timestamp: 2017-12-01 15:38:42
8+
# Timestamp: 2017-12-01 19:04:23
99

1010
FROM debian:stretch
1111

@@ -83,7 +83,7 @@ RUN conda create -y -q --name neuro python=2 \
8383
&& sync \
8484
&& sed -i '$isource activate neuro' $ND_ENTRYPOINT
8585

86-
CMD ["heudiconv"]
86+
ENTRYPOINT ["/neurodocker/startup.sh", "heudiconv"]
8787

8888
#--------------------------------------
8989
# Save container specifications to JSON
@@ -127,12 +127,10 @@ RUN echo '{ \
127127
\n } \
128128
\n ], \
129129
\n [ \
130-
\n "cmd", \
131-
\n [ \
132-
\n "heudiconv" \
133-
\n ] \
130+
\n "entrypoint", \
131+
\n "/neurodocker/startup.sh heudiconv" \
134132
\n ] \
135133
\n ], \
136-
\n "generation_timestamp": "2017-12-01 15:38:42", \
134+
\n "generation_timestamp": "2017-12-01 19:04:23", \
137135
\n "neurodocker_version": "0.3.2-1-gcfd3c6f" \
138136
\n}' > /neurodocker/neurodocker_specs.json

0 commit comments

Comments
 (0)