File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM bids/base_validator
2
+
3
+ # Update system
4
+ RUN apt-get -qq update -qq && \
5
+ apt-get -qq install -qq -y --no-install-recommends \
6
+ unzip \
7
+ xorg \
8
+ wget && \
9
+ apt-get clean && \
10
+ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
11
+
12
+ # Install MATLAB MCR
13
+ ENV MATLAB_VERSION R2022b
14
+ RUN mkdir /opt/mcr_install && \
15
+ mkdir /opt/mcr && \
16
+ wget --quiet -P /opt/mcr_install https://ssd.mathworks.com/supportfiles/downloads/R2022b/Release/3/deployment_files/installer/complete/glnxa64/MATLAB_Runtime_R2022b_Update_3_glnxa64.zip && \
17
+ unzip -q /opt/mcr_install/*${MATLAB_VERSION}*.zip -d /opt/mcr_install && \
18
+ cd /opt/mcr_install && mkdir save && \
19
+ /opt/mcr_install/install -destinationFolder /opt/mcr -agreeToLicense yes -mode silent && \
20
+ rm -rf /opt/mcr_install /tmp/*
21
+
22
+ # Configure environment
23
+ ENV MCR_VERSION v913
24
+ ENV LD_LIBRARY_PATH /opt/mcr/${MCR_VERSION}/runtime/glnxa64:/opt/mcr/${MCR_VERSION}/bin/glnxa64:/opt/mcr/${MCR_VERSION}/sys/os/glnxa64:/opt/mcr/${MCR_VERSION}/sys/opengl/lib/glnxa64
25
+ ENV MCR_INHIBIT_CTF_LOCK 1
26
+ ENV MCR_HOME /opt/mcr/${MCR_VERSION}
You can’t perform that action at this time.
0 commit comments