mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 23:46:15 +01:00
24a3e728ce
And update all the CI builds to use the latest micro release from that
series, 1.2.3.
This version bump means we can:
- Drop some backwards-compatibility Meson checks
- Fix a periodic CI failure caused by a now-fixed Meson bug
(https://github.com/mesonbuild/meson/pull/10633)
It’s in line with our [Meson version policy](./docs/meson-version.md),
as Meson 1.2.1 is available in
[Debian Trixie](https://packages.debian.org/source/trixie/meson) and the
[freedesktop SDK](c95902f2ed/elements/components/meson.bst
).
Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
84 lines
1.6 KiB
Docker
84 lines
1.6 KiB
Docker
FROM debian:bookworm
|
|
|
|
RUN apt-get update -qq && apt-get install --no-install-recommends -qq -y \
|
|
bindfs \
|
|
black \
|
|
clang \
|
|
clang-tools \
|
|
clang-format \
|
|
dbus \
|
|
desktop-file-utils \
|
|
elfutils \
|
|
findutils \
|
|
flake8 \
|
|
fuse \
|
|
gcc \
|
|
gdb \
|
|
g++ \
|
|
gettext \
|
|
gi-docgen \
|
|
git \
|
|
libc6-dev \
|
|
gtk-doc-tools \
|
|
itstool \
|
|
lcov \
|
|
libattr1-dev \
|
|
libdbus-1-dev \
|
|
libelf-dev \
|
|
libffi-dev \
|
|
libmount-dev \
|
|
libpcre2-dev \
|
|
libselinux1-dev \
|
|
libxml2-utils \
|
|
libxslt1-dev \
|
|
libz3-dev \
|
|
locales \
|
|
ninja-build \
|
|
python3 \
|
|
python3-pip \
|
|
python3-setuptools \
|
|
python3-wheel \
|
|
reuse \
|
|
shared-mime-info \
|
|
shellcheck \
|
|
systemtap-sdt-dev \
|
|
unzip \
|
|
wget \
|
|
xsltproc \
|
|
xz-utils \
|
|
zlib1g-dev \
|
|
&& rm -rf /usr/share/doc/* /usr/share/man/*
|
|
|
|
# Locale for our build
|
|
RUN locale-gen C.UTF-8 && /usr/sbin/update-locale LANG=C.UTF-8
|
|
|
|
# Locales for our tests
|
|
RUN locale-gen de_DE.UTF-8 \
|
|
&& locale-gen el_GR.UTF-8 \
|
|
&& locale-gen en_US.UTF-8 \
|
|
&& locale-gen es_ES.UTF-8 \
|
|
&& locale-gen fa_IR.UTF-8 \
|
|
&& locale-gen fr_FR.UTF-8 \
|
|
&& locale-gen hr_HR.UTF-8 \
|
|
&& locale-gen ja_JP.UTF-8 \
|
|
&& locale-gen lt_LT.UTF-8 \
|
|
&& locale-gen pl_PL.UTF-8 \
|
|
&& locale-gen ru_RU.UTF-8 \
|
|
&& locale-gen tr_TR.UTF-8
|
|
|
|
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
|
|
|
|
RUN pip3 install --break-system-packages meson==1.2.3
|
|
|
|
ARG HOST_USER_ID=5555
|
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
|
RUN useradd -u $HOST_USER_ID -ms /bin/bash user
|
|
|
|
USER user
|
|
WORKDIR /home/user
|
|
|
|
COPY cache-subprojects.sh .
|
|
RUN ./cache-subprojects.sh
|
|
|
|
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
|