kdbus: Fixup signal subscription
[platform/upstream/glib.git] / .gitlab-ci / fedora.Dockerfile
1 FROM fedora:37
2
3 RUN dnf -y update \
4  && dnf -y install \
5     bindfs \
6     clang \
7     clang-analyzer \
8     dbus-daemon \
9     dbus-devel \
10     desktop-file-utils \
11     elfutils-libelf-devel \
12     findutils \
13     fuse \
14     gcc \
15     gcc-c++ \
16     gdb \
17     gettext \
18     gi-docgen \
19     git \
20     glibc-devel \
21     glibc-gconv-extra \
22     glibc-headers \
23     glibc-langpack-de \
24     glibc-langpack-el \
25     glibc-langpack-en \
26     glibc-langpack-es \
27     glibc-langpack-fa \
28     glibc-langpack-fr \
29     glibc-langpack-gu \
30     glibc-langpack-hr \
31     glibc-langpack-ja \
32     glibc-langpack-lt \
33     glibc-langpack-pl \
34     glibc-langpack-ru \
35     glibc-langpack-th \
36     glibc-langpack-tr \
37     "gnome-desktop-testing >= 2018.1" \
38     gobject-introspection \
39     gobject-introspection-devel \
40     gtk-doc \
41     itstool \
42     lcov \
43     libattr-devel \
44     libffi-devel \
45     libmount-devel \
46     libselinux-devel \
47     libxslt \
48     ncurses-compat-libs \
49     ninja-build \
50     pcre2-devel \
51     "python3-dbusmock >= 0.18.3-2" \
52     python3-docutils \
53     python3-packaging \
54     python3-pip \
55     python3-pygments \
56     python3-wheel \
57     shared-mime-info \
58     systemtap-sdt-devel \
59     unzip \
60     valgrind \
61     wget \
62     xdg-desktop-portal \
63     xz \
64     zlib-devel \
65  && dnf -y install \
66     meson \
67     flex \
68     bison \
69     python3-devel \
70     autoconf \
71     automake \
72     gettext-devel \
73     libtool \
74     diffutils \
75     fontconfig-devel \
76     json-glib-devel \
77     geoclue2-devel \
78     pipewire-devel \
79     fuse-devel \
80     make \
81  && dnf clean all
82
83 RUN pip3 install meson==1.2.3
84
85 COPY install-gitlab-cobertura-tools.sh .
86 RUN ./install-gitlab-cobertura-tools.sh
87
88 # Set /etc/machine-id as it’s needed for some D-Bus tests
89 RUN systemd-machine-id-setup
90
91 # Enable sudo for wheel users
92 RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' /etc/sudoers
93
94 ARG HOST_USER_ID=5555
95 ENV HOST_USER_ID ${HOST_USER_ID}
96 RUN useradd -u $HOST_USER_ID -G wheel -ms /bin/bash user
97
98 COPY android-ndk.sh .
99 RUN ./android-ndk.sh
100
101 USER user
102 WORKDIR /home/user
103
104 COPY cache-subprojects.sh .
105 RUN ./cache-subprojects.sh
106
107 ENV LANG C.UTF-8