| 1 |
FROM alpine:3.19 |
| 2 |
|
| 3 |
RUN apk add --no-cache \ |
| 4 |
bash \ |
| 5 |
build-base \ |
| 6 |
bzip2-dev \ |
| 7 |
curl \ |
| 8 |
dbus \ |
| 9 |
diffutils \ |
| 10 |
desktop-file-utils \ |
| 11 |
docbook-xml \ |
| 12 |
docbook-xsl \ |
| 13 |
gettext-dev \ |
| 14 |
git \ |
| 15 |
libffi-dev \ |
| 16 |
libxml2-utils \ |
| 17 |
libxslt \ |
| 18 |
meson \ |
| 19 |
musl-locales \ |
| 20 |
py3-pip \ |
| 21 |
python3 \ |
| 22 |
pcre2-dev \ |
| 23 |
shared-mime-info \ |
| 24 |
tzdata \ |
| 25 |
util-linux-dev \ |
| 26 |
zlib-dev |
| 27 |
|
| 28 |
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8 MUSL_LOCPATH=/usr/share/i18n/locales/musl |
| 29 |
|
| 30 |
RUN pip3 install --break-system-packages meson==1.4.2 |
| 31 |
RUN pip3 install --break-system-packages python-gitlab==6.5.0 |
| 32 |
|
| 33 |
ARG HOST_USER_ID=5555 |
| 34 |
ENV HOST_USER_ID ${HOST_USER_ID} |
| 35 |
RUN adduser -D -u $HOST_USER_ID -s /bin/bash user |
| 36 |
|
| 37 |
USER user |
| 38 |
WORKDIR /home/user |
| 39 |
|
| 40 |
COPY cache-subprojects.sh . |
| 41 |
RUN ./cache-subprojects.sh |