2023-12-08 17:27:06 +01:00
|
|
|
FROM alpine:3.19
|
2023-08-10 20:10:01 +02:00
|
|
|
|
|
|
|
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 \
|
2023-12-05 10:53:04 +01:00
|
|
|
py3-pip \
|
2023-08-10 20:10:01 +02:00
|
|
|
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
|
|
|
|
|
2023-12-12 12:02:18 +01:00
|
|
|
RUN pip3 install --break-system-packages meson==1.2.3
|
|
|
|
|
2023-08-10 20:10:01 +02:00
|
|
|
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
|