Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Try different FSL version
  • Loading branch information
madisoth authored Jan 25, 2025
1 parent 9742361 commit ed75ea0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@ RUN apt-get update && apt-get install -y build-essential gpg wget m4 libglu1-mes
rm Python-3.9.13.tgz && cd Python-3.9.13 && ./configure --enable-optimizations && make altinstall && \
cd .. && rm -rf Python-3.9.13

# Install MATLAB Compiler Runtime
FROM base as mcr
RUN mkdir /opt/mcr /opt/mcr_download && cd /opt/mcr_download && \
wget https://ssd.mathworks.com/supportfiles/downloads/R2019a/Release/9/deployment_files/installer/complete/glnxa64/MATLAB_Runtime_R2019a_Update_9_glnxa64.zip \
&& unzip MATLAB_Runtime_R2019a_Update_9_glnxa64.zip \
&& ./install -agreeToLicense yes -mode silent -destinationFolder /opt/mcr \
&& rm -rf /opt/mcr_download

# install fsl
FROM base as fsl
RUN echo "Downloading FSL ..." && \
curl -O https://fsl.fmrib.ox.ac.uk/fsldownloads/fslinstaller.py && \
python2 fslinstaller.py -d /opt/fsl && rm fslinstaller.py -V 6.0.7.9 --throttle_downloads

# install ants
FROM base as ants
RUN echo "Downloading ANTs ..." && \
Expand All @@ -29,12 +43,6 @@ RUN echo "Downloading ANTs ..." && \
rm -rf /opt/ANTs/ANTs && rm -rf /opt/ANTs/build && rm -rf /opt/ANTs/install/lib && \
mv /opt/ANTs/install/bin /opt/ANTs/bin && rm -rf /opt/ANTs/install

# install fsl
FROM base as fsl
RUN echo "Downloading FSL ..." && \
curl -O https://fsl.fmrib.ox.ac.uk/fsldownloads/fslinstaller.py && \
python2 fslinstaller.py -d /opt/fsl && rm fslinstaller.py

# install afni
FROM base as afni
RUN echo "Downloading AFNI ..." && \
Expand Down Expand Up @@ -83,14 +91,6 @@ RUN echo "Downloading FreeSurfer ..." && \
--exclude='freesurfer/subjects/fsaverage_sym' \
--exclude='freesurfer/trctrain'

# Install MATLAB Compiler Runtime
FROM base as mcr
RUN mkdir /opt/mcr /opt/mcr_download && cd /opt/mcr_download && \
wget https://ssd.mathworks.com/supportfiles/downloads/R2019a/Release/9/deployment_files/installer/complete/glnxa64/MATLAB_Runtime_R2019a_Update_9_glnxa64.zip \
&& unzip MATLAB_Runtime_R2019a_Update_9_glnxa64.zip \
&& ./install -agreeToLicense yes -mode silent -destinationFolder /opt/mcr \
&& rm -rf /opt/mcr_download

# Install MSM Binaries
FROM base as msm
RUN echo "Downloading msm ..." && \
Expand Down

0 comments on commit ed75ea0

Please sign in to comment.