-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile
32 lines (29 loc) · 897 Bytes
/
Dockerfile
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
FROM ubuntu:bionic
# Install dependencies
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& apt-get install --yes --no-install-recommends \
build-essential \
git \
cmake \
wget \
zlib1g-dev \
libhwloc-common \
libhwloc-dev \
ca-certificates
# Download, compile and install Boost 1.60
RUN wget -O /tmp/boost_1_60_0.tar.gz https://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.gz/download \
&& cd /tmp/ \
&& tar -xzf boost_1_60_0.tar.gz \
&& cd /tmp/boost_1_60_0 \
&& ./bootstrap.sh --with-libraries=context,chrono,thread,system \
&& ./b2 \
&& ./b2 install \
&& cd /tmp \
&& rm -Rf /tmp/boost_1_60_0
# PGASUS
RUN git clone https://github.com/osmhpi/pgasus /tmp/pgasus --recursive \
&& mkdir /tmp/pgasus/build \
&& cd /tmp/pgasus/build \
&& cmake .. \
&& make -j$(nproc) \
&& make install