blob: f9e8f224fcd091f9ec0581e8a2729a506d7202fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
FROM ubuntu:22.04 as builder
WORKDIR /root
RUN env DEBIAN_FRONTEND=noninteractive apt-get -y update && apt-get install -y wget unzip git make cmake pkg-config libpcap-dev autoconf libtool
RUN git clone https://github.com/utoni/nDPId.git
RUN cd nDPId && mkdir -p build && cd build && cmake .. -DBUILD_NDPI=ON && make
FROM ubuntu:22.04
WORKDIR /root
RUN apt-get -y update && apt-get -y install libpcap-dev
COPY --from=builder /root/nDPId/libnDPI/ /root/
COPY --from=builder /root/nDPId/build/nDPIsrvd /root/nDPId/build/nDPId /root/
|