From 7b15838696e7024f5bec10cc5c8668b587bae782 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 3 Aug 2023 08:36:19 +0200 Subject: Added docker build&push to the CI. * update some git submodules Signed-off-by: Toni Uhlig --- Dockerfile | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 0c48d79e2..7cff2d0db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,10 @@ FROM ubuntu:22.10 as builder WORKDIR /root -RUN apt-get -y update && apt-get install -y git cmake pkg-config libpcap-dev autoconf libtool +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 -#for dev, uncomment below -#RUN mkdir /root/nDPId -#COPY . /root/nDPId/ - -RUN cd nDPId && mkdir build && cd build && cmake .. -DBUILD_NDPI=ON && make - +RUN cd nDPId && mkdir -p build && cd build && cmake .. -DBUILD_NDPI=ON && make FROM ubuntu:22.10 WORKDIR /root @@ -17,9 +12,3 @@ 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/ - -#RUN echo "#!/bin/bash\n" \ -# "/root/nDPIsrvd -d\n"\ -# "/root/nDPId \n" > run.sh && cat run.sh && chmod +x run.sh - -#ENTRYPOINT ["/root/run.sh"] -- cgit v1.2.3