2024-05-15 11:33:00 +02:00
|
|
|
|
FROM fedora:39
|
2021-03-01 14:55:03 +01:00
|
|
|
|
|
2020-01-17 10:06:36 +01:00
|
|
|
|
RUN dnf -y update \
|
|
|
|
|
&& dnf -y install \
|
2018-11-12 13:44:19 +01:00
|
|
|
|
bindfs \
|
2019-04-29 16:24:46 +02:00
|
|
|
|
clang \
|
|
|
|
|
clang-analyzer \
|
2019-04-30 14:24:04 +02:00
|
|
|
|
dbus-daemon \
|
2019-10-21 17:45:01 +02:00
|
|
|
|
dbus-devel \
|
2018-02-18 15:59:29 +01:00
|
|
|
|
desktop-file-utils \
|
|
|
|
|
elfutils-libelf-devel \
|
2018-04-27 17:04:52 +02:00
|
|
|
|
findutils \
|
2018-11-12 13:44:19 +01:00
|
|
|
|
fuse \
|
2018-02-18 15:59:29 +01:00
|
|
|
|
gcc \
|
|
|
|
|
gcc-c++ \
|
2022-06-24 13:52:03 +02:00
|
|
|
|
gdb \
|
2018-02-18 15:59:29 +01:00
|
|
|
|
gettext \
|
2023-10-10 00:04:21 +02:00
|
|
|
|
gi-docgen \
|
2018-02-18 15:59:29 +01:00
|
|
|
|
git \
|
|
|
|
|
glibc-devel \
|
2023-10-11 17:33:27 +02:00
|
|
|
|
glibc-gconv-extra \
|
2018-02-18 15:59:29 +01:00
|
|
|
|
glibc-headers \
|
2018-12-03 01:00:00 +01:00
|
|
|
|
glibc-langpack-de \
|
|
|
|
|
glibc-langpack-el \
|
|
|
|
|
glibc-langpack-en \
|
|
|
|
|
glibc-langpack-es \
|
|
|
|
|
glibc-langpack-fa \
|
|
|
|
|
glibc-langpack-fr \
|
2023-10-18 16:52:07 +02:00
|
|
|
|
glibc-langpack-gu \
|
2018-12-03 01:00:00 +01:00
|
|
|
|
glibc-langpack-hr \
|
|
|
|
|
glibc-langpack-ja \
|
|
|
|
|
glibc-langpack-lt \
|
|
|
|
|
glibc-langpack-pl \
|
|
|
|
|
glibc-langpack-ru \
|
2023-10-18 16:50:57 +02:00
|
|
|
|
glibc-langpack-th \
|
2018-12-03 01:00:00 +01:00
|
|
|
|
glibc-langpack-tr \
|
2019-12-11 17:47:45 +01:00
|
|
|
|
"gnome-desktop-testing >= 2018.1" \
|
2023-11-28 19:00:35 +01:00
|
|
|
|
gobject-introspection \
|
|
|
|
|
gobject-introspection-devel \
|
2018-02-18 15:59:29 +01:00
|
|
|
|
gtk-doc \
|
|
|
|
|
itstool \
|
2018-04-27 17:04:52 +02:00
|
|
|
|
lcov \
|
2018-02-18 15:59:29 +01:00
|
|
|
|
libattr-devel \
|
|
|
|
|
libffi-devel \
|
|
|
|
|
libmount-devel \
|
|
|
|
|
libselinux-devel \
|
|
|
|
|
libxslt \
|
2018-06-26 19:18:29 +02:00
|
|
|
|
ncurses-compat-libs \
|
2018-03-29 10:57:55 +02:00
|
|
|
|
ninja-build \
|
2022-06-24 13:50:26 +02:00
|
|
|
|
pcre2-devel \
|
2019-12-11 17:47:45 +01:00
|
|
|
|
"python3-dbusmock >= 0.18.3-2" \
|
2023-12-21 14:35:18 +01:00
|
|
|
|
python3-docutils \
|
2020-05-07 14:22:02 +02:00
|
|
|
|
python3-pip \
|
2019-12-13 19:54:28 +01:00
|
|
|
|
python3-pygments \
|
2018-03-29 10:57:55 +02:00
|
|
|
|
python3-wheel \
|
2019-04-30 14:24:04 +02:00
|
|
|
|
shared-mime-info \
|
2018-02-18 15:59:29 +01:00
|
|
|
|
systemtap-sdt-devel \
|
2018-05-20 06:14:56 +02:00
|
|
|
|
unzip \
|
2019-08-21 23:48:53 +02:00
|
|
|
|
valgrind \
|
2018-06-07 17:27:54 +02:00
|
|
|
|
wget \
|
2020-01-13 18:46:01 +01:00
|
|
|
|
xdg-desktop-portal \
|
2018-08-23 21:53:29 +02:00
|
|
|
|
xz \
|
2018-06-07 17:27:54 +02:00
|
|
|
|
zlib-devel \
|
2019-12-11 17:48:24 +01:00
|
|
|
|
&& dnf -y install \
|
|
|
|
|
meson \
|
|
|
|
|
flex \
|
|
|
|
|
bison \
|
|
|
|
|
python3-devel \
|
|
|
|
|
autoconf \
|
|
|
|
|
automake \
|
|
|
|
|
gettext-devel \
|
|
|
|
|
libtool \
|
|
|
|
|
diffutils \
|
|
|
|
|
fontconfig-devel \
|
|
|
|
|
json-glib-devel \
|
|
|
|
|
geoclue2-devel \
|
|
|
|
|
pipewire-devel \
|
|
|
|
|
fuse-devel \
|
|
|
|
|
make \
|
2018-03-29 10:57:55 +02:00
|
|
|
|
&& dnf clean all
|
|
|
|
|
|
2023-10-24 17:46:36 +02:00
|
|
|
|
RUN pip3 install meson==1.2.3
|
2018-06-22 17:02:02 +02:00
|
|
|
|
|
2022-09-15 02:22:41 +02:00
|
|
|
|
COPY install-gitlab-cobertura-tools.sh .
|
|
|
|
|
RUN ./install-gitlab-cobertura-tools.sh
|
|
|
|
|
|
2021-10-07 17:29:31 +02:00
|
|
|
|
# Set /etc/machine-id as it’s needed for some D-Bus tests
|
|
|
|
|
RUN systemd-machine-id-setup
|
|
|
|
|
|
2019-11-20 14:54:09 +01:00
|
|
|
|
# Enable sudo for wheel users
|
|
|
|
|
RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' /etc/sudoers
|
|
|
|
|
|
2018-02-18 15:59:29 +01:00
|
|
|
|
ARG HOST_USER_ID=5555
|
|
|
|
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
2019-11-20 14:54:09 +01:00
|
|
|
|
RUN useradd -u $HOST_USER_ID -G wheel -ms /bin/bash user
|
2018-02-18 15:59:29 +01:00
|
|
|
|
|
2022-04-26 16:50:36 +02:00
|
|
|
|
COPY android-ndk.sh .
|
|
|
|
|
RUN ./android-ndk.sh
|
|
|
|
|
|
2018-02-18 15:59:29 +01:00
|
|
|
|
USER user
|
|
|
|
|
WORKDIR /home/user
|
|
|
|
|
|
2020-01-13 18:31:15 +01:00
|
|
|
|
COPY cache-subprojects.sh .
|
|
|
|
|
RUN ./cache-subprojects.sh
|
|
|
|
|
|
2018-03-29 10:57:55 +02:00
|
|
|
|
ENV LANG C.UTF-8
|