Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added R2018b #4

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added R2018b
  • Loading branch information
Ismet Handzic committed Aug 6, 2020
commit e25cbe43d018b5ebf00e2d448d1f194bc42c74e8
46 changes: 46 additions & 0 deletions R2018b/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# MATLAB Compiler Runtime (MCR) v9.5 (R2018b)
#
# This docker file will configure an environment into which the Matlab compiler
# runtime will be installed and in which stand-alone matlab routines (such as
# those created with MATLAB's deploytool) can be executed.

# MATLAB Runtime
# Run compiled MATLAB applications or components without installing MATLAB
# The MATLAB Runtime is a standalone set of shared libraries that enables the
# execution of compiled MATLAB applications or components. When used together,
# MATLAB, MATLAB Compiler, and the MATLAB Runtime enable you to create and distribute
# numerical applications or software components quickly and securely.
#
# See https://www.mathworks.com/products/compiler/matlab-runtime.html for more info.
#
# @author Ismet Handzic
# @creation 2020-Aug-06
#

FROM debian:stretch-slim
MAINTAINER Riccardo De Martis <[email protected]>
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get -q update && \
apt-get install -q -y --no-install-recommends \
xorg \
unzip \
wget \
curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Download the MCR from MathWorks site an install with -mode silent
RUN mkdir /mcr-install && \
mkdir /opt/mcr && \
cd /mcr-install && \
wget --no-check-certificate -q https://ssd.mathworks.com/supportfiles/downloads/R2018b/deployment_files/R2018b/installers/glnxa64/MCR_R2018b_glnxa64_installer.zip && \
unzip -q MCR_R2018b_glnxa64_installer.zip && \
rm -f MCR_R2018b_glnxa64_installer.zip && \
./install -destinationFolder /opt/mcr -agreeToLicense yes -mode silent && \
cd / && \
rm -rf mcr-install

# Configure environment variables for MCR
ENV LD_LIBRARY_PATH /opt/mcr/v95/runtime/glnxa64:/opt/mcr/v95/bin/glnxa64:/opt/mcr/v95/sys/os/glnxa64:/opt/mcr/v95/extern/bin/glnxa64
ENV XAPPLRESDIR /etc/X11/app-defaults