blob: ab31fbb6e54eea4de6bb093d63c7af7dff1be2a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
FROM debian:bookworm
RUN apt-get update -qq && apt-get install --no-install-recommends -qq -y \
appstream \
clang \
clang-tools \
dbus \
desktop-file-utils \
docbook-xsl \
gcc \
g++ \
gettext \
git \
gnome-pkg-tools \
gobject-introspection \
gperf \
gsettings-desktop-schemas-dev \
gtk-doc-tools \
itstool \
lcov \
libaccountsservice-dev \
libappstream-dev \
libcairo2-dev \
libcairo-gobject2 \
libcurl4-gnutls-dev \
libepoxy-dev \
libflatpak-dev \
libfontconfig-dev \
libfwupd-dev \
libgdk-pixbuf-2.0-dev \
libgirepository1.0-dev \
libglib2.0-dev \
libglib-testing-0-dev \
libgoa-1.0-dev \
libgraphene-1.0-dev \
libgstreamer-plugins-bad1.0-dev \
libgudev-1.0-dev \
libjpeg62-turbo-dev \
libjson-glib-dev \
liblmdb-dev \
libmalcontent-0-dev \
libpackagekit-glib2-dev \
libpam0g-dev \
libpango1.0-dev \
libpolkit-gobject-1-dev \
libsoup2.4-dev \
libstemmer-dev \
libxcursor-dev \
libxdamage-dev \
libxext-dev \
libxfixes-dev \
libxi-dev \
libxinerama-dev \
libxkbcommon-dev \
libxmlb-dev \
libxml2-utils \
libxrandr-dev \
libyaml-dev \
ninja-build \
packagekit \
pkg-config \
policykit-1 \
python3 \
python3-pip \
python3-setuptools \
python3-wheel \
sassc \
shared-mime-info \
sudo \
sysprof \
unzip \
valgrind \
wayland-protocols \
wget \
xsltproc \
xz-utils \
&& rm -rf /usr/share/doc/* /usr/share/man/*
RUN pip3 install meson==0.60.1
# Enable passwordless sudo for sudo users
RUN sed -i -e '/%sudo/s/ALL$/NOPASSWD: ALL/' /etc/sudoers
ARG HOST_USER_ID=5555
ENV HOST_USER_ID ${HOST_USER_ID}
RUN useradd -u $HOST_USER_ID -G sudo -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
|