forked from rosalab/linux-dev-env
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (28 loc) · 1.18 KB
/
Dockerfile
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
FROM ubuntu:24.04 AS linux-builder
ENV LINUX=/linux
RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install --fix-missing -y git build-essential gcc g++ fakeroot libncurses5-dev libssl-dev ccache dwarves libelf-dev \
cmake mold \
libdw-dev libdwarf-dev \
bpfcc-tools libbpfcc-dev libbpfcc \
linux-headers-generic \
libtinfo-dev \
libstdc++-11-dev libstdc++-12-dev \
bc \
flex bison \
rsync \
libcap-dev libdisasm-dev binutils-dev unzip \
pkg-config lsb-release wget software-properties-common gnupg zlib1g llvm \
qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst libvirt-daemon xterm attr busybox openssh-server \
iputils-ping kmod \
zstd
# Added as a separate step so that this can be clipped off as needed.
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y vim cron net-tools sysstat
RUN wget https://apt.llvm.org/llvm.sh
RUN chmod +x llvm.sh
RUN ./llvm.sh 19
RUN ln -s /usr/bin/clang-19 /usr/bin/clang
RUN ln -s /usr/bin/clang++-19 /usr/bin/clang++
RUN ln -s /usr/bin/ld.lld-19 /usr/bin/ld.lld
RUN DEBIAN_FRONTEND=noninteractive apt-get install --fix-missing -y curl