Skip to content

Commit 1ec1f05

Browse files
committed
A few more dependencies that are commented out and optionally installed for kcachegrind.
1 parent 2b4a9a8 commit 1ec1f05

1 file changed

Lines changed: 22 additions & 6 deletions

File tree

scripts/docker/build/ubuntu24-perf/Dockerfile

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,34 @@ FROM --platform=linux/amd64 ubuntu:24.04
22

33
# ── System dependencies ────────────────────────────────────────────────────────
44
RUN apt-get update && apt-get install -y \
5-
libgoogle-perftools-dev \
6-
google-perftools \
5+
# Build essentials
76
build-essential \
7+
cmake \
8+
make \
9+
git \
10+
# SSL / compression / memory libs
811
libssl-dev \
912
libbrotli-dev \
1013
libtalloc-dev \
14+
# Google perf tools
15+
libgoogle-perftools-dev \
16+
google-perftools \
17+
# Valgrind profiling
18+
valgrind \
19+
# Utilities
1120
less \
12-
git \
13-
make \
1421
psmisc \
15-
cmake \
16-
&& rm -rf /var/lib/apt/lists/* # purge apt index cache in the same layer to prevent it being frozen into the image
22+
# kcachegrind - GUI callgrind viewer (requires display/X11 forwarding or VNC)
23+
# Lots of KDE/Qt dependencies (~200MB+).
24+
# To use: run with `docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix`
25+
# kcachegrind \
26+
# kio \
27+
# libkf5iconthemes5 \
28+
# libkf5parts5 \
29+
# libkf5textwidgets5 \
30+
# libqt5gui5 \
31+
# libqt5widgets5 \
32+
&& rm -rf /var/lib/apt/lists/* # purge apt index cache in the same layer to prevent it being frozen into the image
1733

1834
# ── libkqueue (package version causes runtime issues) ─────────────────────────
1935
RUN git clone https://github.com/mheily/libkqueue.git /tmp/libkqueue \

0 commit comments

Comments
 (0)