Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Initial Import
- Loading branch information
0 parents
commit 38eb9c3
Showing
5 changed files
with
502 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# hsteininger/DoMaLiMa | ||
# VERSION 1.0.0 | ||
|
||
#what image to use | ||
FROM debian | ||
|
||
#maintainer | ||
MAINTAINER Herbert Steininger <herbert_steininger@psych.mpg.de> | ||
|
||
#set env variables | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
#set timezone | ||
RUN echo "TZ='Europe/Berlin'; export TZ" >> /root/.bashrc | ||
|
||
#run aptitude | ||
RUN apt-get update && apt-get install -y --fix-missing tar less vim wget lynx psmisc lsof strace | ||
|
||
##MATLABstuff | ||
RUN apt-get install -y --fix-missing lsb | ||
|
||
#copy matlabstuff | ||
ADD matlab_R2017a_glnxa64 /root/ | ||
COPY license.dat /root/license.dat | ||
COPY activate.ini /root/activate.ini | ||
COPY installer_input.txt /root/installer_input.txt | ||
|
||
RUN chmod -R 755 /root | ||
RUN /root/install -inputFile /root/installer_input.txt | ||
|
||
ADD ./start.sh /root/bin/ | ||
RUN chmod -R 755 /root/bin/start.sh | ||
|
||
RUN ln -s /tmp /usr/tmp | ||
|
||
RUN adduser --disabled-password --gecos '' matlab | ||
|
||
ENTRYPOINT ["/root/bin/start.sh"] | ||
#CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
################################################################## | ||
# | ||
# Name: activate.ini | ||
# | ||
# Copyright 2008-2010 The MathWorks, Inc. | ||
# | ||
# Purpose: Activation application initialization file template. | ||
# Use this file to specify parameters required by the activation | ||
# application at runtime. This file provides the activation | ||
# application with required input without using the GUI. | ||
# | ||
# INSTRUCTIONS FOR RUNNING IN SILENT MODE | ||
# | ||
# To run the activation application in silent mode: | ||
# | ||
# 1. Create a copy of this template file and fill in the required | ||
# information. | ||
# | ||
# 2. Navigate to the folder containing the activation application. | ||
# (Windows) $MATLABROOT\bin\$ARCH | ||
# (Mac/Linux) $MATLABROOT/bin | ||
# | ||
# 3. Launch the activation application from the command line, | ||
# using the -propertiesFile option to specify the name of your | ||
# activation initialization file. | ||
# | ||
# (Windows) activate_matlab.exe -propertiesFile <file_name> | ||
# (Mac/Linux) activate_matlab.sh -propertiesFile <file_name> | ||
# | ||
# NOTE: If you want to perform silent activation automatically | ||
# after performing silent installation, specify the name of your | ||
# activation initialization file as the value of the | ||
# activationPropertiesFile= option in the installer initialization | ||
# file (installer_input.txt). This option causes the installer | ||
# to launch the activation application in silent mode. You can | ||
# also specify the activation initialization file as an argument | ||
# when you launch the installer, using the -activationPropertiesFile | ||
# option. | ||
# | ||
# NOTE: When run in silent mode, the activation application does | ||
# not display the activation dialog boxes. | ||
# | ||
################################################################## | ||
# | ||
# SPECIFY ACTIVATION MODE | ||
# | ||
# Specify whether or not to run in silent mode. | ||
# | ||
# Valid values: true / false | ||
# | ||
# Default: isSilent=true. | ||
|
||
isSilent=true | ||
|
||
# | ||
# SPECIFY ACTIVATION TYPE (Required) | ||
# | ||
# Specify the type of activation you want to do. | ||
# | ||
# Valid values: activateDcAnon / activateOffline | ||
|
||
activateCommand=activateOffline | ||
|
||
# | ||
# SPECIFY LICENSE FILE LOCATION (Required if activateCommand=activateOffline) | ||
# | ||
# If you specified the activation type activateOffline, you | ||
# must specify the location of the License File that you want | ||
# to install. | ||
# | ||
# Mac/Linux example: | ||
# licenseFile=/Central/license.dat | ||
# | ||
# Windows example: | ||
# licenseFile=C:\license.dat | ||
|
||
licenseFile=/root/license.dat | ||
|
||
# | ||
# SPECIFY ACTIVATION KEY (Required if activateCommand=activateDcAnon) | ||
# | ||
# If you specified the activation type activateDcAnon,you must | ||
# specify a valid Activation Key. | ||
# | ||
# Example: activationKey=55555-55555-55555-55555 | ||
|
||
activationKey= | ||
|
||
# | ||
# SPECIFY LICENSE FILE DESTINATION DIRECTORY (Optional) | ||
# | ||
# Specify the directory into which you want to install the license file. | ||
# You must specify the full path of a directory that already exists. | ||
# | ||
# NOTE: This option is only for advanced users since it could make MATLAB | ||
# unable to start without specifying special options. | ||
# | ||
# Mac/Linux example: | ||
# installLicenseFileDir=/Central/LicenseDirectory | ||
# | ||
# Windows examples: | ||
# installLicenseFileDir=C:\License Directory | ||
|
||
installLicenseFileDir= | ||
|
||
# | ||
# SPECIFY NAME OF INSTALLED LICENSE FILE (Optional) | ||
# | ||
# Specify the name of the installed License File. The file name | ||
# must have with either .lic or .dat file extension. | ||
# | ||
# Example: installLicenseFileName=license.dat | ||
|
||
installLicenseFileName= |
Oops, something went wrong.