-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile.coverage
More file actions
32 lines (27 loc) · 670 Bytes
/
Dockerfile.coverage
File metadata and controls
32 lines (27 loc) · 670 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
# Coverage generation environment matching CI/CD
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
# Install coverage tools matching CI/CD versions
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
ninja-build \
git \
libcurl4-openssl-dev \
libjansson-dev \
libobs-dev \
pkg-config \
# Coverage-specific tools
lcov \
gcovr \
gcc \
# Report generation
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
# Install coverage visualization tools
RUN pip3 install --no-cache-dir --break-system-packages \
coverage-badge \
genbadge[coverage]
WORKDIR /workspace
CMD ["bash"]