forked from testdockerwcsim/XTriggerApplication
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile.base
44 lines (37 loc) · 1014 Bytes
/
Dockerfile.base
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
### Created by Dr. Benjamin Richards ([email protected])
### Download base image from cern repo on docker hub
#FROM cern/cc7-base:latest
FROM wcsim/wcsim:latest
### Run the following commands as super user (root):
USER root
#######################
### GCC ENVIRONMENT ###
#######################
RUN yum install -y \
git \
zlib-devel \
wget \
tar \
gcc-c++ \
make \
file \
bzip2-devel \
which \
binutils \
libX11-devel \
libXpm-devel \
libXft-devel \
libXext-devel \
doxygen \
&& yum clean all \
&& rm -rf /var/cache/yum
# Get TriggerApp prerequists script
WORKDIR $HYPERKDIR
RUN wget https://raw.githubusercontent.com/HKDAQ/TriggerApplication/Application/GetToolDAQ.sh
RUN chmod a+x GetToolDAQ.sh
# Get ToolDAQ prerequisites
RUN ./GetToolDAQ.sh --ToolDAQ_ZMQ;
RUN ./GetToolDAQ.sh --Boost;
#RUN ./GetToolDAQ.sh --with_root --Root; #comes with WCSim image
### Open terminal
CMD ["/bin/bash"]