-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathDockerfile-ubuntu-2010
35 lines (27 loc) · 973 Bytes
/
Dockerfile-ubuntu-2010
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Used to ensure the build works in a clean Ubuntu 20.10 environment
# This Dockerfile will fail if not run on a Linux 5.8 kernel
FROM ubuntu:20.10
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -y && apt-get install -y \
cmake \
clang \
libboost-all-dev \
libspdlog-dev \
libmnl-dev \
linux-tools-common \
nlohmann-json3-dev \
libbpf-dev \
linux-tools-generic \
conntrack \
python3 \
python3-pyqt5 \
libnfnetlink-dev \
xxd \
linux-tools-5.8.0-44-generic
ADD http://mirrors.kernel.org/ubuntu/pool/universe/libn/libnetfilter-queue/libnetfilter-queue-dev_1.0.5-2_amd64.deb /tmp/
ADD http://mirrors.kernel.org/ubuntu/pool/universe/libn/libnetfilter-queue/libnetfilter-queue1_1.0.5-2_amd64.deb /tmp/
RUN dpkg --install /tmp/libnetfilter-queue1_1.0.5-2_amd64.deb && \
dpkg --install /tmp/libnetfilter-queue-dev_1.0.5-2_amd64.deb
WORKDIR /app
COPY . .
RUN mkdir build && cd build && cmake .. && make