Debian Codegraph @

docker/Dockerfile

raw
1 #
2 # SPDX-License-Identifier: BSD-2-Clause
3 #
4 # Copyright (C) 2023-2025 Linutronix GmbH
5 # Author Kurt Kanzenbach <[email protected]>
6 #
7 FROM debian:bookworm
8
9 ENV DEBIAN_FRONTEND noninteractive
10
11 # Update
12 RUN apt update
13 RUN apt upgrade -y
14
15 # Lang
16 RUN apt install -y locales
17 RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
18 ENV LANG en_US.UTF-8
19 ENV LANGUAGE en_US:en
20 ENV LC_ALL en_US.UTF-8
21
22 # Install essentials
23 RUN apt install -y build-essential clang llvm cmake pkg-config
24 RUN apt install -y libbpf-dev libyaml-dev libc6-dev rt-tests ethtool iproute2
25 RUN apt install -y iperf3 linuxptp libxdp-dev libssl-dev libmosquitto-dev
26 RUN apt install -y git emacs-nox vim-nox net-tools iputils-ping
27 RUN apt install -y tcpdump bpftool xdp-tools
28
29 # Install RTC Testbench
30 WORKDIR /root
31 RUN git clone https://www.github.com/Linutronix/RTC-Testbench
32 RUN mkdir -p RTC-Testbench/build
33 WORKDIR /root/RTC-Testbench/build
34 RUN cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DWITH_MQTT=TRUE ..
35 RUN make -j`nproc`
36 RUN make install