diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..8db7b31c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,26 @@ +FROM gcc:12-bookworm + +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + dpkg-dev \ + libboost-atomic-dev \ + libboost-chrono-dev \ + libboost-date-time-dev \ + libboost-filesystem-dev \ + libboost-iostreams-dev \ + libboost-log-dev \ + libboost-program-options-dev \ + libboost-regex-dev \ + libboost-stacktrace-dev \ + libboost-system-dev \ + pkg-config \ + && rm -rf /var/lib/apt/lists/* + +COPY . /ndn-cxx + +RUN cd /ndn-cxx \ + && ./waf configure --without-pch --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --enable-shared \ + && ./waf \ + && ./waf install \ + && cd \ + && rm -rf /ndn-cxx