This repo can be used to build the matlab-install
image used
by the Whole Tale repo2docker_wholetale
MatlabBuildPack.
Installing Matlab using the buildpack requires access to the ~20GB
installation media as well as license and private installation key.
After downloading the full installation media as ISO image, this repo
is used to build a Docker image containiner just required installation
files. The buildpack relies on the Docker buildkit RUN --mount
feature to install Matlab products and toolboxes.
Build steps:
- Download installation media (iso), license, and key
- Clone this repo
- Mount ISO
- Create
network.lic
- Build image
Whole Tale uses institutional licenses from Jetstream (Indiana University, Univeristy of Texas at Austin). Licenses are now also available from the University of Illinois at Urbana-Champaign.
For U of I staff, the installation media and licenses can be obtained from https://webstore.illinois.edu/.
git clone https://github.com/whole-tale/matlab-install
cd matlab-install
Mount the downloaded ISO into the matlab-install
subdirectory:
sudo mount -o loop /<path-to-iso>/RYYYYx_Linux.iso ./matlab-install/
Where YYYYx
is 2019b
, 2020a
, etc.
Create file network.lic
for site where image will be deployed.
In addition to the 20GB ISO, building the image requires at least 40GB of disk space:
docker build -t matlab-install:R2019b .
Note: For now, I assume that the image will be imported to the local
VM cache via docker import
. In the future, we may decide to push
the install images to registry.wholetale.org.