glib/.gitlab-ci/alpine.Dockerfile

39 lines
722 B
Docker
Raw Normal View History

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 \
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
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