Dockerfile 2.11 KB
Newer Older
Volodymyr SAVCHENKO's avatar
initial  
Volodymyr SAVCHENKO committed
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
FROM centos

RUN yum -y install epel-release
RUN yum -y update
RUN yum -y install gcc gcc-c++ gcc-gfortran \
                   git curl make zlib-devel bzip2 bzip2-devel \
                   readline-devel sqlite sqlite-devel openssl \
                   openssl-devel patch libjpeg libpng12 libX11 \
                   which libXpm libXext curlftpfs wget libgfortran file \
                   ruby-devel fpm rpm-build \
                   ncurses-devel \
                   libXt-devel libX11-devel libXpm-devel libXft-devel libXext-devel \
                   cmake openssl-devel pcre-devel mesa-libGL-devel mesa-libGLU-devel glew-devel ftgl-devel \
                   mysql-devel fftw-devel cfitsio-devel graphviz-devel avahi-compat-libdns_sd-devel libldap-dev python-devel libxml2-devel gsl-static \
                   compat-gcc-44 compat-gcc-44-c++ compat-gcc-44-c++.gfortran \
                   perl-ExtUtils-MakeMaker \
                   net-tools strace sshfs sudo iptables

RUN ln -s /usr/lib64/libpcre.so.1 /usr/lib64/libpcre.so.0
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | bash && yum -y install git-lfs
RUN cp -fv /usr/bin/gfortran /usr/bin/g95


# root

Volodymyr SAVCHENKO's avatar
run    
Volodymyr SAVCHENKO committed
26
RUN cd /opt && \
Volodymyr SAVCHENKO's avatar
initial  
Volodymyr SAVCHENKO committed
27
28
29
30
31
32
    wget https://root.cern.ch/download/root_v5.34.26.Linux-slc6_amd64-gcc4.4.tar.gz && \
    tar xvzf root_v5.34.26.Linux-slc6_amd64-gcc4.4.tar.gz && \
    rm -f root_v5.34.26.Linux-slc6_amd64-gcc4.4.tar.gz 

# heasoft

Volodymyr SAVCHENKO's avatar
run    
Volodymyr SAVCHENKO committed
33
RUN cd /opt && \
Volodymyr SAVCHENKO's avatar
initial  
Volodymyr SAVCHENKO committed
34
35
    wget https://www.isdc.unige.ch/~savchenk/gitlab-ci/savchenk/osa-build-heasoft-binary-tarball/CentOS_7.5.1804_x86_64/heasoft-CentOS_7.5.1804_x86_64.tar.gz && \
    tar xvzf heasoft-CentOS_7.5.1804_x86_64.tar.gz && \
Volodymyr SAVCHENKO's avatar
run    
Volodymyr SAVCHENKO committed
36
    pwd && \
Volodymyr SAVCHENKO's avatar
initial  
Volodymyr SAVCHENKO committed
37
38
39
40
    rm -fv  heasoft-CentOS_7.5.1804_x86_64.tar.gz

# OSA

Volodymyr SAVCHENKO's avatar
run    
Volodymyr SAVCHENKO committed
41
RUN cd /opt && \
Volodymyr SAVCHENKO's avatar
initial  
Volodymyr SAVCHENKO committed
42
43
44
45
    wget https://www.isdc.unige.ch/~savchenk/gitlab-ci/savchenk/osa-build-binary-tarball/CentOS_7.5.1804_x86_64/osa-CentOS_7.5.1804_x86_64.tar.gz && \
    tar xvzf osa-CentOS_7.5.1804_x86_64.tar.gz && \
    rm -fv  osa-CentOS_7.5.1804_x86_64.tar.gz

46
RUN wget https://www.isdc.unige.ch/integral/download/osa/cat/osa_cat-41.0.tar.gz && tar xvzf osa_cat-41.0.tar.gz
Volodymyr SAVCHENKO's avatar
initial  
Volodymyr SAVCHENKO committed
47

Volodymyr SAVCHENKO's avatar
run    
Volodymyr SAVCHENKO committed
48
ADD init.sh init.sh
Volodymyr SAVCHENKO's avatar
initial  
Volodymyr SAVCHENKO committed
49