blob: 4a9b699d375187eb725b2385b411db9e7c262a29 [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 \
Junxiao Shi995c4112023-11-18 19:33:43 +00006 libboost-chrono-dev \
7 libboost-date-time-dev \
Davide Pesaventoe3710032024-02-05 19:57:05 -05008 libboost-dev \
Junxiao Shi995c4112023-11-18 19:33:43 +00009 libboost-filesystem-dev \
10 libboost-iostreams-dev \
11 libboost-log-dev \
12 libboost-program-options-dev \
Junxiao Shi995c4112023-11-18 19:33:43 +000013 libboost-stacktrace-dev \
Davide Pesaventoe3710032024-02-05 19:57:05 -050014 libboost-thread-dev \
Junxiao Shi995c4112023-11-18 19:33:43 +000015 pkg-config \
16 && rm -rf /var/lib/apt/lists/*
17
18COPY . /ndn-cxx
19
20RUN cd /ndn-cxx \
21 && ./waf configure --without-pch --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --enable-shared \
22 && ./waf \
23 && ./waf install \
24 && cd \
25 && rm -rf /ndn-cxx