Skip to content

Commit

Permalink
DOCKER: Set crashfile format to text in Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Apr 6, 2020
1 parent f4abbe0 commit bf2cfd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .neurodocker.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
],
[
"run",
"echo \"$VERSION\" > /src/fitlins/VERSION"
"echo \"$VERSION\" > /src/fitlins/VERSION && sed -i -e 's/crashfile_format = pklz/crashfile_format = txt' /src/fitlins/fitlins/data/nipype.cfg"
],
[
"miniconda",
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Your version: 0.6.0+5.g74cb187.dirty Latest version: 0.6.0
# Generated by Neurodocker version 0.6.0+5.g74cb187.dirty
# Timestamp: 2020-03-30 19:14:46 UTC
# Timestamp: 2020-04-06 16:54:58 UTC
#
# Thank you for using Neurodocker. If you discover any issues
# or ways to improve this software, please submit an issue or
Expand Down Expand Up @@ -97,7 +97,7 @@ USER neuro

ARG VERSION

RUN echo "$VERSION" > /src/fitlins/VERSION
RUN echo "$VERSION" > /src/fitlins/VERSION && sed -i -e 's/crashfile_format = pklz/crashfile_format = txt' /src/fitlins/fitlins/data/nipype.cfg

RUN bash -c "source activate neuro \
&& pip install --no-cache-dir -r \
Expand Down Expand Up @@ -208,7 +208,7 @@ RUN echo '{ \
\n ], \
\n [ \
\n "run", \
\n "echo \"$VERSION\" > /src/fitlins/VERSION" \
\n "echo \"$VERSION\" > /src/fitlins/VERSION && sed -i -e '"'"'s/crashfile_format = pklz/crashfile_format = txt'"'"' /src/fitlins/fitlins/data/nipype.cfg" \
\n ], \
\n [ \
\n "miniconda", \
Expand Down

0 comments on commit bf2cfd6

Please sign in to comment.