-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile:centos7
90 lines (76 loc) · 3.09 KB
/
Dockerfile:centos7
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
FROM centos:7
RUN useradd -ms /bin/bash -p tpstps iris
RUN yum -y install python3 \
&& yum -y install libaio.x86_64 libaio-devel.x86_64 unzip mlocate gcc gcc-c++ vim openssl-libs.x86_64 openssl-devel.x86_64 make gdb.x86_64 tcl.x86_64 wget
WORKDIR /home
#Downloading doxygen
RUN yum clean all
WORKDIR /home
RUN wget --content-disposition http://mirror.centos.org/centos/8/PowerTools/aarch64/os/Packages/doxygen-1.8.14-12.el8.aarch64.rpm https://nodejs.org/dist/latest-v8.x/node-v8.17.0-linux-x64.tar.gz https://github.com/Kitware/CMake/releases/download/v3.20.0-rc3/cmake-3.20.0-rc3.tar.gz https://github.com/redis/hiredis/archive/v1.0.0.zip https://sourceforge.net/projects/wsdlpull/files/latest/download https://download.oracle.com/otn_software/linux/instantclient/191000/oracle-instantclient19.10-basic-19.10.0.0.0-1.x86_64.rpm https://download.oracle.com/otn_software/linux/instantclient/191000/oracle-instantclient19.10-devel-19.10.0.0.0-1.x86_64.rpm https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz https://github.com/zeromq/libzmq/archive/v4.2.3.zip https://files.pythonhosted.org/packages/d3/7f/c780b7471ba0ff4548967a9f7a8b0bfce222c3a496c3dfad0164172222b0/supervisor-4.2.2.tar.gz
# Installing cmake
RUN tar -xvf cmake-3.20.0-rc3.tar.gz \
&& cd cmake-3.20.0-rc3 \
&& ./bootstrap \
&& make \
&& make install
# Installing hiredis
WORKDIR /home
RUN unzip hiredis-1.0.0.zip \
&& cd hiredis-1.0.0 \
&& make \
&& make install
# INstalling boost
WORKDIR /home
RUN tar -xvf boost_1_75_0.tar.gz
WORKDIR boost_1_75_0
RUN ./bootstrap.sh \
&& ./b2 install ; exit 0
WORKDIR /home
# INstalling oracle
RUN rpm -ivh oracle-instantclient19.10-basic-19.10.0.0.0-1.x86_64.rpm \
&& rpm -ivh oracle-instantclient19.10-devel-19.10.0.0.0-1.x86_64.rpm
WORKDIR /home
#Installing supervisord
RUN tar -xvf supervisor-4.2.2.tar.gz \
&& cd supervisor-4.2.2 \
&& python3 setup.py install
RUN wget --content-disposition https://github.com/zeromq/czmq/archive/master.zip
WORKDIR /home
RUN yum -y install doxygen \
&& tar -xvf wsdlpull-1.24.tar.gz \
&& cd wsdlpull-1.24 \
&& ./configure \
&& make -j2 \
&& make install \
&& cp /home/wsdlpull-1.24/src/wsdlparser/*.h /usr/local/include/wsdlpull/wsdlparser/ \
&& mkdir /usr/local/include/wsdlpull/xmlpull \
&& cp /home/wsdlpull-1.24/src/xmlpull/*.h /usr/local/include/wsdlpull/xmlpull
WORKDIR /home
RUN wget --content-disposition https://github.com/zeromq/libzmq/archive/v4.3.4.zip
RUN unzip libzmq-4.3.4.zip \
&& cd libzmq-4.3.4 \
&& mkdir cmake-make \
&& cd cmake-make \
&& cmake .. \
&& make -j3 \
&& make install
WORKDIR /home
RUN wget --content-disposition https://github.com/zeromq/cppzmq/archive/v4.7.1.zip
RUN unzip cppzmq-4.7.1.zip \
&& cd cppzmq-4.7.1 \
&& mkdir build \
&& cd build \
&& cmake -DCPPZMQ_BUILD_TESTS=OFF .. \
&& make -j3 install
WORKDIR /home
RUN wget --content-disposition https://github.com/msgpack/msgpack-c/archive/cpp_master.zip
RUN unzip msgpack-c-cpp_master.zip \
&& cd msgpack-c-cpp_master \
&& cmake . \
&& make \
&& make install
WORKDIR /home
RUN yum -y install python2
RUN tar -xvf node-v8.17.0.tar.gz
WORKDIR node-v8.17.0
EXPOSE 8000-8999