@@ -39,8 +39,8 @@ RUN export ND_ENTRYPOINT="/neurodocker/startup.sh" \
39
39
40
40
ENTRYPOINT ["/neurodocker/startup.sh" ]
41
41
42
- ENV FSLDIR="/opt/fsl-5 .0.11 " \
43
- PATH="/opt/fsl-5 .0.11 /bin:$PATH"
42
+ ENV FSLDIR="/opt/fsl-6 .0.0 " \
43
+ PATH="/opt/fsl-6 .0.0 /bin:$PATH"
44
44
RUN apt-get update -qq \
45
45
&& apt-get install -y -q --no-install-recommends \
46
46
bc \
@@ -63,15 +63,15 @@ RUN apt-get update -qq \
63
63
&& apt-get clean \
64
64
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
65
65
&& echo "Downloading FSL ..." \
66
- && mkdir -p /opt/fsl-5 .0.11 \
67
- && curl -fsSL --retry 5 https://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-5 .0.11 -centos6_64.tar.gz \
68
- | tar -xz -C /opt/fsl-5 .0.11 --strip-components 1 \
66
+ && mkdir -p /opt/fsl-6 .0.0 \
67
+ && curl -fsSL --retry 5 https://fsl.fmrib.ox.ac.uk/fsldownloads/fsl-6 .0.0 -centos6_64.tar.gz \
68
+ | tar -xz -C /opt/fsl-6 .0.0 --strip-components 1 \
69
69
&& sed -i '$iecho Some packages in this Docker container are non-free' $ND_ENTRYPOINT \
70
70
&& sed -i '$iecho If you are considering commercial use of this container, please consult the relevant license:' $ND_ENTRYPOINT \
71
71
&& sed -i '$iecho https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/Licence' $ND_ENTRYPOINT \
72
72
&& sed -i '$isource $FSLDIR/etc/fslconf/fsl.sh' $ND_ENTRYPOINT \
73
73
&& echo "Installing FSL conda environment ..." \
74
- && bash /opt/fsl-5 .0.11 /etc/fslconf/fslpython_install.sh -f /opt/fsl-5 .0.11
74
+ && bash /opt/fsl-6 .0.0 /etc/fslconf/fslpython_install.sh -f /opt/fsl-6 .0.0
75
75
76
76
ENV CONDA_DIR="/opt/miniconda-latest" \
77
77
PATH="/opt/miniconda-latest/bin:$PATH"
@@ -132,12 +132,13 @@ RUN apt-get update -qq \
132
132
133
133
COPY ./license.txt /opt/freesurfer-6.0.0/license.txt
134
134
135
+ # && sync && conda clean -tipsy && sync
136
+
135
137
ADD environment.yml environment.yml
136
- RUN apt-get update && apt-get install -y git gcc
138
+ RUN apt-get update && apt-get install -y git gcc libopenblas-base
137
139
RUN conda env create -f environment.yml
138
140
139
- # && sync && conda clean -tipsy && sync
140
-
141
+ ENV LD_LIBRARY_PATH=/usr/lib/openblas-base/
141
142
142
143
RUN sed -i '$isource activate dmriprep' $ND_ENTRYPOINT
143
144
@@ -152,7 +153,7 @@ RUN echo '{ \
152
153
\n [ \
153
154
\n "fsl", \
154
155
\n { \
155
- \n "version": "5 .0.11 " \
156
+ \n "version": "6 .0.0 " \
156
157
\n } \
157
158
\n ], \
158
159
\n [ \
0 commit comments