Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
DoMaLiMa/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31 lines (24 sloc)
793 Bytes
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
# hsteininger/DoMaLiMa | |
# VERSION 1.0.1 | |
#what image to use | |
FROM debian | |
#maintainer | |
MAINTAINER Herbert Steininger <hsteininger@hsteininger.de> | |
#set env variables | |
ENV DEBIAN_FRONTEND noninteractive | |
ENV PATH /usr/local/MatLab/2017a/etc:/usr/local/MatLab/2017a/bin:$PATH | |
#set timezone | |
RUN echo "TZ='Europe/Berlin'; export TZ" >> /root/.bashrc | |
#run aptitude | |
RUN apt-get update && apt-get install -y --fix-missing lsb | |
##MATLAB | |
RUN adduser --disabled-password --gecos '' matlab | |
ADD matlab_R2017a_glnxa64 /root/ | |
ADD start.sh /root/bin/ | |
COPY license.dat /root/license.dat | |
COPY activate.ini /root/activate.ini | |
COPY installer_input.txt /root/installer_input.txt | |
RUN ln -s /tmp /usr/tmp | |
RUN chmod -R 755 /root | |
RUN /root/install -inputFile /root/installer_input.txt | |
ENTRYPOINT ["/root/bin/start.sh"] |