mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
71061fdcb3
Alpine 3.19 ships with Meson 1.3.0, which has broken handling of File objects and their paths. This causes (as far as I can tell) un-work-around-able breakage of GLib’s build. See https://github.com/mesonbuild/meson/issues/5273#issuecomment-1851811417 That should be fixed in Meson 1.4.0, but that might not be released for a while. Because we’re here to test GLib, not Meson, let’s pin the Meson version in the Alpine CI image to 1.2.3, which we know works and is reasonably up to date (and is what the other CI images use). Fixes this CI failure: https://gitlab.gnome.org/GNOME/glib/-/jobs/3361388 Signed-off-by: Philip Withnall <pwithnall@gnome.org>
39 lines
722 B
Docker
39 lines
722 B
Docker
FROM alpine:3.19
|
|
|
|
RUN apk add --no-cache \
|
|
bash \
|
|
build-base \
|
|
bzip2-dev \
|
|
dbus \
|
|
desktop-file-utils \
|
|
docbook-xml \
|
|
docbook-xsl \
|
|
gettext-dev \
|
|
git \
|
|
libffi-dev \
|
|
libxml2-utils \
|
|
libxslt \
|
|
meson \
|
|
musl-locales \
|
|
py3-pip \
|
|
python3 \
|
|
pcre2-dev \
|
|
shared-mime-info \
|
|
tzdata \
|
|
util-linux-dev \
|
|
zlib-dev
|
|
|
|
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8 MUSL_LOCPATH=/usr/share/i18n/locales/musl
|
|
|
|
RUN pip3 install --break-system-packages meson==1.2.3
|
|
|
|
ARG HOST_USER_ID=5555
|
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
|
RUN adduser -D -u $HOST_USER_ID -s /bin/bash user
|
|
|
|
USER user
|
|
WORKDIR /home/user
|
|
|
|
COPY cache-subprojects.sh .
|
|
RUN ./cache-subprojects.sh
|