Changes between Version 16 and Version 17 of docker
- Timestamp:
- 11/16/20 16:23:54 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
docker
v16 v17 40 40 41 41 }}} 42 replacing <key> with the file installation key you received. 42 replacing <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). 43 43 44 Create a dockerfile in issm_docker with the following contents 44 45 46 {{{ 47 #!sh 48 # Use the official image as a parent image. 49 FROM ubuntu:20.04 50 51 # Instal x11 libs 52 RUN apt-get update 53 RUN apt-get install -y libx11-6 54 RUN 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. 59 WORKDIR /home/issm 60 61 # Add matlab files 62 ADD R2020b ./R2020b 63 64 # Install Matlab 65 WORKDIR /home/issm/R2020b 66 RUN ./install -inputFile installer_options.txt 67 68 WORKDIR /usr/local/MATLAB/R2020b/ 69 ADD licenses ./licenses 70 71 }}} 72