Debian Codegraph @

.github/workflows/Containerfile

raw
1 # This Containerfile builds the image that we use in all github workflows.
2 # When this file is changed, or one needs to rebuild the image for another
3 # reason, bump the `IMAGE_TAG` in the container.yml workflow.
4
5 FROM ubuntu:latest
6
7 RUN apt update
8 RUN apt upgrade -y
9
10 # Install dependencies
11 RUN apt install -y --no-install-recommends \
12 gcc clang \
13 ca-certificates \
14 desktop-file-utils \
15 fuse3 \
16 gettext \
17 git \
18 gnome-desktop-testing \
19 gtk-doc-tools \
20 jq \
21 libcap2-bin \
22 libflatpak-dev \
23 libfontconfig1-dev \
24 libfuse3-dev \
25 libgdk-pixbuf-2.0-dev \
26 librsvg2-2 \
27 librsvg2-common \
28 libgstreamer-plugins-base1.0-dev \
29 gstreamer1.0-plugins-good \
30 libgstreamer-plugins-good1.0-dev \
31 gstreamer1.0-tools \
32 libgeoclue-2-dev \
33 libglib2.0-dev \
34 libgudev-1.0-dev \
35 libjson-glib-dev \
36 libpipewire-0.3-dev \
37 libsystemd-dev \
38 libtool \
39 llvm \
40 libclang-rt-18-dev \
41 python3-gi \
42 shared-mime-info
43
44 # Install meson
45 RUN apt install -y --no-install-recommends meson
46
47 # Install pytest
48 RUN apt install -y --no-install-recommends \
49 python3-pytest \
50 python3-pytest-xdist \
51 python3-dbus \
52 libumockdev0 \
53 libumockdev-dev \
54 umockdev \
55 gir1.2-umockdev-1.0
56
57 # Install pip
58 RUN apt install -y --no-install-recommends python3-pip
59
60 # Install latest a newer python-dbusmock required for our pytest setup
61 # This is installed system-wide
62 RUN pip install --prefix=/usr --break-system-packages python-dbusmock">=0.33.0"
63
64 # Install doc dependencies
65 RUN pip install --user --break-system-packages furo">=2024.04.27" \
66 sphinx-copybutton sphinxext-opengraph matplotlib
67
68 # Install pre-commit
69 RUN pip install --user --break-system-packages pre-commit
70
71 # Install qdbusxml2cpp
72 RUN apt install -y --no-install-recommends qt6-base-dev-tools