Skip to content

Commit

Permalink
Downgrade Matlab version
Browse files Browse the repository at this point in the history
Downgrade Matlab version from R2019a to R2016b to match the version of matlab that dcan_bold_proc was compiled with. Compiling dcan_bold_proc with R2019a results in a matlabpath error.
  • Loading branch information
perronea authored Feb 9, 2023
1 parent 8deec43 commit 3297859
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ ENV FSLDIR=/opt/fsl \
#---------------------
RUN mkdir /opt/mcr /opt/mcr_download
WORKDIR /opt/mcr_download
RUN 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 \
RUN wget https://ssd.mathworks.com/supportfiles/downloads/R2016b/deployment_files/R2016b/installers/glnxa64/MCR_R2016b_glnxa64_installer.zip \
&& unzip MCR_R2016b_glnxa64_installer.zip \
&& ./install -agreeToLicense yes -mode silent -destinationFolder /opt/mcr \
&& rm -rf /opt/mcr_download

Expand Down Expand Up @@ -183,7 +183,7 @@ ENV WORKBENCHDIR=/opt/workbench \
RUN ln -s -f /lib/x86_64-linux-gnu/libz.so.1.2.11 /opt/workbench/libs_linux64/libz.so.1

# Fix libstdc++6 error
RUN ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25 /opt/mcr/v96/sys/os/glnxa64/libstdc++.so.6
RUN ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25 /opt/mcr/v91/sys/os/glnxa64/libstdc++.so.6

# # Fix MCR lib errors
# WORKDIR /opt/mcr/v92/bin/glnxa64
Expand Down

0 comments on commit 3297859

Please sign in to comment.