-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (36 loc) · 776 Bytes
/
Dockerfile
File metadata and controls
41 lines (36 loc) · 776 Bytes
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
FROM debian:bookworm
# BCC version tag
ARG BCC_VERSION=v0.35.0
LABEL bcc.version=${BCC_VERSION}
RUN apt-get update && apt-get install -y --no-install-recommends \
bash \
curl \
ca-certificates \
git \
jq \
procps \
net-tools \
iproute2 \
vim \
python3-pip \
apt-transport-https \
clang \
llvm \
libelf-dev \
libpcap-dev \
libbfd-dev \
binutils-dev \
build-essential \
make \
linux-perf \
&& rm -rf /var/lib/apt/lists/*
RUN git clone --recurse-submodules --branch ${BCC_VERSION} --depth 1 https://github.com/iovisor/bcc.git \
&& cd bcc/libbpf-tools \
&& make \
&& make install
# Setting User and Home
USER root
WORKDIR /root
ENV HOSTNAME=bpfshoot
# Running bash
CMD ["bash"]