Junxiao Shi | 995c411 | 2023-11-18 19:33:43 +0000 | [diff] [blame] | 1 | FROM gcc:12-bookworm |
| 2 | |
| 3 | RUN apt-get update \ |
| 4 | && apt-get install -y --no-install-recommends \ |
| 5 | dpkg-dev \ |
Junxiao Shi | 995c411 | 2023-11-18 19:33:43 +0000 | [diff] [blame] | 6 | libboost-chrono-dev \ |
| 7 | libboost-date-time-dev \ |
Davide Pesavento | e371003 | 2024-02-05 19:57:05 -0500 | [diff] [blame] | 8 | libboost-dev \ |
Junxiao Shi | 995c411 | 2023-11-18 19:33:43 +0000 | [diff] [blame] | 9 | libboost-filesystem-dev \ |
| 10 | libboost-iostreams-dev \ |
| 11 | libboost-log-dev \ |
| 12 | libboost-program-options-dev \ |
Junxiao Shi | 995c411 | 2023-11-18 19:33:43 +0000 | [diff] [blame] | 13 | libboost-stacktrace-dev \ |
Davide Pesavento | e371003 | 2024-02-05 19:57:05 -0500 | [diff] [blame] | 14 | libboost-thread-dev \ |
Junxiao Shi | 995c411 | 2023-11-18 19:33:43 +0000 | [diff] [blame] | 15 | pkg-config \ |
| 16 | && rm -rf /var/lib/apt/lists/* |
| 17 | |
| 18 | COPY . /ndn-cxx |
| 19 | |
| 20 | RUN 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 |