| 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-dbusmock \ |
| 52 |
python3-dbus \ |
| 53 |
libumockdev0 \ |
| 54 |
libumockdev-dev \ |
| 55 |
umockdev \ |
| 56 |
gir1.2-umockdev-1.0 |
| 57 |
|
| 58 |
# Install pip |
| 59 |
RUN apt install -y --no-install-recommends python3-pip |
| 60 |
|
| 61 |
# Install doc dependencies |
| 62 |
RUN pip install --user --break-system-packages furo">=2024.04.27" \ |
| 63 |
sphinx-copybutton sphinxext-opengraph matplotlib |
| 64 |
|
| 65 |
# Install pre-commit |
| 66 |
RUN pip install --user --break-system-packages pre-commit |
| 67 |
|
| 68 |
# Install qdbusxml2cpp |
| 69 |
RUN apt install -y --no-install-recommends qt6-base-dev-tools |