mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 05:16:18 +01:00
03ea524188
This is in preparation for porting `GRegex` to libpcre2, which is happening in !2529. It’s a big port, though, and specially rebuilding the CI images to add libpcre2 for it is a pain. Add libpcre2, and then !2529 can drop the old libpcre dependencies when the port lands. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #1085
100 lines
1.9 KiB
Docker
100 lines
1.9 KiB
Docker
FROM fedora:34
|
||
|
||
RUN dnf -y update \
|
||
&& dnf -y install \
|
||
bindfs \
|
||
clang \
|
||
clang-analyzer \
|
||
dbus-daemon \
|
||
dbus-devel \
|
||
desktop-file-utils \
|
||
elfutils-libelf-devel \
|
||
findutils \
|
||
fuse \
|
||
gcc \
|
||
gcc-c++ \
|
||
gdb \
|
||
gettext \
|
||
git \
|
||
glibc-devel \
|
||
glibc-headers \
|
||
glibc-langpack-de \
|
||
glibc-langpack-el \
|
||
glibc-langpack-el \
|
||
glibc-langpack-en \
|
||
glibc-langpack-es \
|
||
glibc-langpack-es \
|
||
glibc-langpack-fa \
|
||
glibc-langpack-fr \
|
||
glibc-langpack-hr \
|
||
glibc-langpack-ja \
|
||
glibc-langpack-lt \
|
||
glibc-langpack-pl \
|
||
glibc-langpack-ru \
|
||
glibc-langpack-tr \
|
||
"gnome-desktop-testing >= 2018.1" \
|
||
gtk-doc \
|
||
itstool \
|
||
lcov \
|
||
libattr-devel \
|
||
libffi-devel \
|
||
libmount-devel \
|
||
libselinux-devel \
|
||
libxslt \
|
||
ncurses-compat-libs \
|
||
ninja-build \
|
||
pcre-devel \
|
||
pcre2-devel \
|
||
"python3-dbusmock >= 0.18.3-2" \
|
||
python3-pip \
|
||
python3-pygments \
|
||
python3-wheel \
|
||
shared-mime-info \
|
||
systemtap-sdt-devel \
|
||
unzip \
|
||
valgrind \
|
||
wget \
|
||
xdg-desktop-portal \
|
||
xz \
|
||
zlib-devel \
|
||
&& dnf -y install \
|
||
meson \
|
||
flex \
|
||
bison \
|
||
python3-devel \
|
||
autoconf \
|
||
automake \
|
||
gettext-devel \
|
||
libtool \
|
||
diffutils \
|
||
fontconfig-devel \
|
||
json-glib-devel \
|
||
geoclue2-devel \
|
||
pipewire-devel \
|
||
fuse-devel \
|
||
make \
|
||
&& dnf clean all
|
||
|
||
RUN pip3 install meson==0.60.3
|
||
|
||
# Set /etc/machine-id as it’s needed for some D-Bus tests
|
||
RUN systemd-machine-id-setup
|
||
|
||
# Enable sudo for wheel users
|
||
RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' /etc/sudoers
|
||
|
||
ARG HOST_USER_ID=5555
|
||
ENV HOST_USER_ID ${HOST_USER_ID}
|
||
RUN useradd -u $HOST_USER_ID -G wheel -ms /bin/bash user
|
||
|
||
COPY android-ndk.sh .
|
||
RUN ./android-ndk.sh
|
||
|
||
USER user
|
||
WORKDIR /home/user
|
||
|
||
COPY cache-subprojects.sh .
|
||
RUN ./cache-subprojects.sh
|
||
|
||
ENV LANG C.UTF-8
|