blob: 8db7b31c44bbf11f204861c80951a645f1b684e0 [file] [log] [blame]
Junxiao Shi995c4112023-11-18 19:33:43 +00001FROM gcc:12-bookworm
2
3RUN apt-get update \
4 && apt-get install -y --no-install-recommends \
5 dpkg-dev \
6 libboost-atomic-dev \
7 libboost-chrono-dev \
8 libboost-date-time-dev \
9 libboost-filesystem-dev \
10 libboost-iostreams-dev \
11 libboost-log-dev \
12 libboost-program-options-dev \
13 libboost-regex-dev \
14 libboost-stacktrace-dev \
15 libboost-system-dev \
16 pkg-config \
17 && rm -rf /var/lib/apt/lists/*
18
19COPY . /ndn-cxx
20
21RUN cd /ndn-cxx \
22 && ./waf configure --without-pch --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --enable-shared \
23 && ./waf \
24 && ./waf install \
25 && cd \
26 && rm -rf /ndn-cxx