From 3297859b4bb3dc664ea2b2cc7a93a3868c6dd9c7 Mon Sep 17 00:00:00 2001 From: Anders Perrone Date: Thu, 9 Feb 2023 13:06:21 -0800 Subject: [PATCH] Downgrade Matlab version 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. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index aba1d91..ab14014 100755 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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