-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile.web_base
More file actions
58 lines (49 loc) · 1.66 KB
/
Dockerfile.web_base
File metadata and controls
58 lines (49 loc) · 1.66 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
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
FROM rockylinux:9
USER root
RUN yum install -y \
git \
wget \
tar \
gcc-c++ \
make \
cmake \
file \
which \
dialog \
zlib-devel \
nano \
&& yum clean all \
&& rm -rf /var/cache/yum \
&& ln -s /usr/bin/python3 /usr/bin/python
RUN git config --global --add safe.directory /opt \
&& git config --global --add safe.directory /web;
RUN cd /opt \
&& git clone https://github.com/ToolDAQ/zeromq-4.0.7.git \
&& cd zeromq-4.0.7 \
&& ./configure --prefix=`pwd`/../tmp \
&& make -j `nproc --all` \
&& make install \
&& cp include/zmq.hpp ../tmp/include/ \
&& rm -rf ./* \
&& mv ../tmp/* ./ \
&& rm -rf ../tmp
RUN cd /opt \
&& git clone https://github.com/ToolFramework/ToolFrameworkCore.git \
&& cd ToolFrameworkCore/ \
&& make
# change to boost 1.84 ? didn't seem needed...
RUN cd /opt \
&& git clone https://github.com/ToolDAQ/boost_1_66_0.git \
&& cd boost_1_66_0/ \
&& rm -rf INSTALL \
&& mkdir install \
&& ./bootstrap.sh --prefix=`pwd`/install --without-libraries=python \
&& ./b2 install iostreams -j$(nproc) \
&& mv install/ ../ \
&& rm -rf ./* \
&& mv ../install/ ./
RUN cd /opt \
&& git clone https://github.com/ToolDAQ/ToolDAQFramework.git \
&& cd ToolDAQFramework/ \
&& make
CMD ["/bin/bash"]