-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile.base
33 lines (28 loc) · 967 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
### Created by Dr. Benjamin Richards
### Download base image from cern repo on docker hub
FROM toolframework/core
### Run the following commands as super user (root):
USER root
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 \
&& cd ../ \
&& 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 > /dev/null 2>/dev/null \
&& ./b2 install iostreams -j `nproc --all` \
&& mv install ../ \
&& rm -rf ./* \
&& mv ../install ./ \
&& chmod -R a+rw /opt
### Open terminal
CMD ["/bin/bash"]