2023-10-11 14:51:50 +02:00
|
|
|
FROM debian:bookworm
|
2019-04-29 17:54:42 +02:00
|
|
|
|
|
|
|
RUN apt-get update -qq && apt-get install --no-install-recommends -qq -y \
|
|
|
|
bindfs \
|
2020-11-10 09:53:00 +01:00
|
|
|
black \
|
2019-04-29 17:54:42 +02:00
|
|
|
clang \
|
2021-10-07 17:28:46 +02:00
|
|
|
clang-tools \
|
|
|
|
clang-format \
|
2019-04-29 17:54:42 +02:00
|
|
|
dbus \
|
|
|
|
desktop-file-utils \
|
|
|
|
elfutils \
|
|
|
|
findutils \
|
2020-11-10 09:53:00 +01:00
|
|
|
flake8 \
|
2019-04-29 17:54:42 +02:00
|
|
|
fuse \
|
|
|
|
gcc \
|
2022-06-24 13:52:03 +02:00
|
|
|
gdb \
|
2019-04-29 17:54:42 +02:00
|
|
|
g++ \
|
|
|
|
gettext \
|
2023-10-10 00:04:21 +02:00
|
|
|
gi-docgen \
|
2019-04-29 17:54:42 +02:00
|
|
|
git \
|
|
|
|
libc6-dev \
|
|
|
|
gtk-doc-tools \
|
|
|
|
itstool \
|
|
|
|
lcov \
|
|
|
|
libattr1-dev \
|
2019-10-21 17:45:01 +02:00
|
|
|
libdbus-1-dev \
|
2019-04-29 17:54:42 +02:00
|
|
|
libelf-dev \
|
|
|
|
libffi-dev \
|
|
|
|
libmount-dev \
|
2022-06-24 13:50:26 +02:00
|
|
|
libpcre2-dev \
|
2019-04-29 17:54:42 +02:00
|
|
|
libselinux1-dev \
|
|
|
|
libxml2-utils \
|
|
|
|
libxslt1-dev \
|
|
|
|
libz3-dev \
|
|
|
|
locales \
|
|
|
|
ninja-build \
|
|
|
|
python3 \
|
2023-12-01 16:53:50 +01:00
|
|
|
python3-packaging \
|
2019-04-29 17:54:42 +02:00
|
|
|
python3-pip \
|
|
|
|
python3-setuptools \
|
|
|
|
python3-wheel \
|
2023-10-11 14:51:50 +02:00
|
|
|
reuse \
|
2019-04-29 17:54:42 +02:00
|
|
|
shared-mime-info \
|
2020-11-10 09:53:00 +01:00
|
|
|
shellcheck \
|
2019-04-29 17:54:42 +02:00
|
|
|
systemtap-sdt-dev \
|
|
|
|
unzip \
|
|
|
|
wget \
|
|
|
|
xsltproc \
|
|
|
|
xz-utils \
|
|
|
|
zlib1g-dev \
|
|
|
|
&& 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
|
|
|
|
|
|
|
|
# Locales for our tests
|
|
|
|
RUN locale-gen de_DE.UTF-8 \
|
|
|
|
&& locale-gen el_GR.UTF-8 \
|
|
|
|
&& locale-gen en_US.UTF-8 \
|
|
|
|
&& locale-gen es_ES.UTF-8 \
|
|
|
|
&& locale-gen fa_IR.UTF-8 \
|
|
|
|
&& locale-gen fr_FR.UTF-8 \
|
|
|
|
&& locale-gen hr_HR.UTF-8 \
|
|
|
|
&& locale-gen ja_JP.UTF-8 \
|
|
|
|
&& locale-gen lt_LT.UTF-8 \
|
|
|
|
&& locale-gen pl_PL.UTF-8 \
|
|
|
|
&& locale-gen ru_RU.UTF-8 \
|
2023-10-18 16:50:57 +02:00
|
|
|
&& locale-gen th_TH.UTF-8 \
|
2019-04-29 17:54:42 +02:00
|
|
|
&& locale-gen tr_TR.UTF-8
|
|
|
|
|
|
|
|
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
|
|
|
|
|
2023-10-24 17:46:36 +02:00
|
|
|
RUN pip3 install --break-system-packages meson==1.2.3
|
2022-11-02 16:20:09 +01:00
|
|
|
|
2019-04-29 17:54:42 +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
|
|
|
|
|
2020-01-13 18:31:15 +01:00
|
|
|
COPY cache-subprojects.sh .
|
|
|
|
RUN ./cache-subprojects.sh
|
|
|
|
|
2019-04-29 17:54:42 +02:00
|
|
|
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
|