forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.fedora
48 lines (41 loc) · 853 Bytes
/
Dockerfile.fedora
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
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright (c) PLUMgrid, Inc.
# Licensed under the Apache License, Version 2.0 (the "License")
FROM fedora:34
MAINTAINER Dave Marchevsky <[email protected]>
RUN dnf -y install \
bison \
cmake \
flex \
gcc \
gcc-c++ \
git \
libxml2-devel \
make \
rpm-build \
wget \
zlib-devel \
llvm \
llvm-devel \
clang-devel \
elfutils-debuginfod-client-devel \
# elfutils-libelf-devel-static \
elfutils-libelf-devel \
luajit \
luajit-devel \
python3-devel \
libstdc++ \
libstdc++-devel
RUN dnf -y install \
python3 \
python3-pip
RUN if [[ ! -e /usr/bin/python && -e /usr/bin/python3 ]]; then \
ln -s $(readlink /usr/bin/python3) /usr/bin/python; \
fi
RUN dnf -y install \
procps \
iputils \
net-tools \
hostname \
iproute \
bpftool
RUN pip3 install pyroute2==0.5.18 netaddr==0.8.0 dnslib==0.9.14 cachetools==3.1.1