Changes between Version 16 and Version 17 of docker


Ignore:
Timestamp:
11/16/20 16:23:54 (4 years ago)
Author:
downs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • docker

    v16 v17  
    4040
    4141}}}
    42 replacing <key> with the file installation key you received.
     42replacing <key> with the file installation key you received. You should now have an issm_docker directory containing a licenses folder with the downloaded license, an installer_options.txt file, and a subdirectory containing the matlab install files (e.g. R2020b).
    4343
     44Create a dockerfile in issm_docker with the following contents
    4445
     46{{{
     47#!sh
     48# Use the official image as a parent image.
     49FROM ubuntu:20.04
     50
     51# Instal x11 libs
     52RUN apt-get update
     53RUN apt-get install -y libx11-6
     54RUN apt-get install -y emacs
     55#RUN apt-get -y install sudo
     56#RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
     57
     58# Copy the file from your host to your current location.
     59WORKDIR /home/issm
     60
     61# Add matlab files
     62ADD R2020b ./R2020b
     63
     64# Install Matlab
     65WORKDIR /home/issm/R2020b
     66RUN ./install -inputFile  installer_options.txt
     67
     68WORKDIR /usr/local/MATLAB/R2020b/
     69ADD licenses ./licenses
     70
     71}}}
     72