OSDN Git Service

Modified: Upload, Command execution
[eos/zephyr.git] / docker / Dockerfile
1 FROM centos
2
3 RUN yum install git -y
4
5 # Required by CUDA
6 # libvdpau and dkms
7
8 # Install libvdpau
9 RUN echo "[linuxtech]\n
10             name=LinuxTECH\n
11             baseurl=http://pkgrepo.linuxtech.net/el6/release/\n
12             enabled=1\n
13             gpgcheck=1\n
14             gpgkey=http://pkgrepo.linuxtech.net/el6/release/RPM-GPG-KEY-LinuxTECH.NET\n" \
15             > /etc/yum.repos.d/linuxtech.repo
16 RUN yum install libvdpau -y
17
18 # Install dkms
19 RUN rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
20 RUN yum install dkms -y
21
22 # Install CUDA
23 RUN cd /tmp
24 RUN wget http://developer.download.nvidia.com/compute/cuda/repos/rhel6/x86_64/cuda-repo-rhel6-6.5-14.x86_64.rpm
25 RUN yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
26 RUN yum install cuda-6.5 -y
27 RUN rm /tmp/cuda-repo-rhel6-6.5-14.x86_64.rpm
28
29 # Add user for execution Eos
30 RUN useradd EosUser
31 RUN su EosUser
32
33 # Download and Install Eos
34 RUN cd
35 RUN curl -L https://sourceforge.jp/projects/eos/scm/git/base/blobs/master/env/Eos_env?export=raw > ${HOME}/.Eos_env
36 RUN source .Eos_env
37 RUN git clone --depth 1 https://scm.sourceforge.jp/gitroot/eos/base.git ${HOME}/Eos
38 RUN mkdir ${EOS_HOME}/hostdepend
39 RUN git clone --depth 1 http://scm.sourceforge.jp/gitroot/eos/hostdepend${EOS_HOSTDIR}.git ${EOS_HOME}/hostdepend/${EOS_HOSTDIR}
40