2020-07-21 12:51:29 +02:00
|
|
|
FROM debian:unstable
|
|
|
|
|
|
|
|
RUN apt-get update -qq && apt-get install --no-install-recommends -qq -y \
|
2022-12-30 17:12:32 +01:00
|
|
|
desktop-file-utils \
|
2020-07-21 12:51:29 +02:00
|
|
|
gettext \
|
|
|
|
git \
|
|
|
|
gtk-doc-tools \
|
|
|
|
lcov \
|
2022-07-08 02:20:30 +02:00
|
|
|
libadwaita-1-dev \
|
2020-07-21 12:51:29 +02:00
|
|
|
libaccountsservice-dev \
|
2022-07-13 00:56:10 +02:00
|
|
|
libappstream-dev \
|
2022-12-30 17:12:32 +01:00
|
|
|
libdbus-1-dev \
|
2020-07-21 12:51:29 +02:00
|
|
|
libflatpak-dev \
|
|
|
|
libgirepository1.0-dev \
|
|
|
|
libglib2.0-dev \
|
|
|
|
libglib-testing-0-dev \
|
2022-07-08 02:20:30 +02:00
|
|
|
libgtk-4-dev \
|
2020-07-21 12:51:29 +02:00
|
|
|
libpam0g-dev \
|
|
|
|
libpolkit-gobject-1-dev \
|
|
|
|
libxml2-utils \
|
|
|
|
locales \
|
|
|
|
meson \
|
|
|
|
pkg-config \
|
|
|
|
policykit-1 \
|
|
|
|
python3-pip \
|
|
|
|
&& rm -rf /usr/share/doc/* /usr/share/man/*
|
|
|
|
|
|
|
|
# Locale for our build
|
|
|
|
RUN locale-gen C.UTF-8 && /usr/sbin/update-locale LANG=C.UTF-8
|
|
|
|
|
|
|
|
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
|
|
|
|
|
2022-08-31 10:54:52 +02:00
|
|
|
RUN pip3 install meson==0.59.4
|
2020-07-21 12:51:29 +02:00
|
|
|
|
|
|
|
ARG HOST_USER_ID=5555
|
|
|
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
|
|
|
RUN useradd -u $HOST_USER_ID -ms /bin/bash user
|
|
|
|
|
|
|
|
USER user
|
|
|
|
WORKDIR /home/user
|
|
|
|
|
|
|
|
COPY cache-subprojects.sh .
|
|
|
|
RUN ./cache-subprojects.sh
|
|
|
|
|
|
|
|
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
|