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 \ |
| 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 | |
| 19 | COPY . /ndn-cxx |
| 20 | |
| 21 | RUN 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 |