mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
5a273556df
The `latest` Alpine release contains Meson 1.1.0, but GLib depends on 1.2.0. This should fix https://gitlab.gnome.org/GNOME/glib/-/jobs/3343347 Signed-off-by: Philip Withnall <pwithnall@gnome.org>
39 lines
724 B
Docker
39 lines
724 B
Docker
FROM alpine:latest
|
|
|
|
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
|