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