File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-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 && apt-get -qq install -y \
5+ unzip \
6+ xorg \
7+ wget && \
8+ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
9+
10+ # Install MATLAB MCR
11+ ENV MATLAB_VERSION R2016b
12+ RUN mkdir /opt/mcr_install && \
13+ mkdir /opt/mcr && \
14+ wget --quiet -P /opt/mcr_install http://www.mathworks.com/supportfiles/downloads/${MATLAB_VERSION}/deployment_files/${MATLAB_VERSION}/installers/glnxa64/MCR_${MATLAB_VERSION}_glnxa64_installer.zip && \
15+ unzip -q /opt/mcr_install/MCR_${MATLAB_VERSION}_glnxa64_installer.zip -d /opt/mcr_install && \
16+ /opt/mcr_install/install -destinationFolder /opt/mcr -agreeToLicense yes -mode silent && \
17+ rm -rf /opt/mcr_install /tmp/*
18+
19+ # Configure environment
20+ ENV MCR_VERSION v91
21+ 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
22+ ENV MCR_INHIBIT_CTF_LOCK 1
23+ ENV MCRPath /opt/mcr/${MCR_VERSION}
You can’t perform that action at this time.
0 commit comments