-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (22 loc) · 1 KB
/
Copy pathDockerfile
File metadata and controls
30 lines (22 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM centos:7.2.1511
MAINTAINER Daniel Kristof <kristofdan@yahoo.com>
ARG http_proxy
ARG https_proxy
ARG ftp_proxy
ENV http_proxy "$http_proxy"
ENV https_proxy "$https_proxy"
ENV ftp_proxy "$ftp_proxy"
RUN yum --disableplugin=fastestmirror -y update && yum clean all
RUN yum --disableplugin=fastestmirror -y install gd libxslt libxml2 git wget
RUN mkdir /usr/lbzip2 && cd /usr/lbzip2
RUN wget http://dl.fedoraproject.org/pub/epel/7/x86_64/l/lbzip2-2.5-1.el7.x86_64.rpm
RUN rpm -Uvh lbzip2-2.5-1.el7.x86_64.rpm
RUN mkdir /usr/local/maja && cd /usr/local/maja
ADD maja-1.0.0-rhel.7.2.x86_64-release-gcc.tar /usr/local/maja/
ADD maja-cots-1.0.0-rhel.7.2.x86_64-release-gcc.tar /usr/local/maja/
RUN cd /usr/local/maja/maja-cots-1.0.0-rhel.7.2.x86_64-release-gcc && echo 'Y'|./install.sh
RUN cd /usr/local/maja/maja-1.0.0-rhel.7.2.x86_64-release-gcc && echo 'Y'|./install.sh
RUN cd /opt/maja
RUN git clone https://github.com/olivierhagolle/Start_maja
RUN cd Start_maja && rm folders.txt
ADD folders.txt /opt/maja/Start_maja