mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 05:16:18 +01:00
47a20304bd
This is required to be able to build the doc. The debian docker is still pinned to 0.49.2 which ensure we can build with both versions of meson. Meson 0.52.0 warns about adding -Wall flag manually, we can remove that because warning_level=1 (the default) option already implies it.
75 lines
1.4 KiB
Docker
75 lines
1.4 KiB
Docker
FROM fedora:30
|
|
|
|
RUN dnf -y install \
|
|
bindfs \
|
|
clang \
|
|
clang-analyzer \
|
|
dbus-daemon \
|
|
dbus-devel \
|
|
desktop-file-utils \
|
|
elfutils-libelf-devel \
|
|
findutils \
|
|
fuse \
|
|
gamin-devel \
|
|
gcc \
|
|
gcc-c++ \
|
|
gettext \
|
|
git \
|
|
glibc-devel \
|
|
glibc-headers \
|
|
glibc-langpack-de \
|
|
glibc-langpack-el \
|
|
glibc-langpack-el \
|
|
glibc-langpack-en \
|
|
glibc-langpack-es \
|
|
glibc-langpack-es \
|
|
glibc-langpack-fa \
|
|
glibc-langpack-fr \
|
|
glibc-langpack-hr \
|
|
glibc-langpack-ja \
|
|
glibc-langpack-lt \
|
|
glibc-langpack-pl \
|
|
glibc-langpack-ru \
|
|
glibc-langpack-tr \
|
|
gnome-desktop-testing \
|
|
gtk-doc \
|
|
itstool \
|
|
lcov \
|
|
libattr-devel \
|
|
libffi-devel \
|
|
libmount-devel \
|
|
libselinux-devel \
|
|
libxslt \
|
|
ncurses-compat-libs \
|
|
ninja-build \
|
|
pcre-devel \
|
|
python3-dbusmock \
|
|
python3-pygments \
|
|
python3-wheel \
|
|
shared-mime-info \
|
|
systemtap-sdt-devel \
|
|
unzip \
|
|
valgrind \
|
|
wget \
|
|
xdg-desktop-portal \
|
|
xz \
|
|
zlib-devel \
|
|
&& dnf clean all
|
|
|
|
RUN pip3 install meson==0.52.1
|
|
|
|
# Enable sudo for wheel users
|
|
RUN sed -i -e 's/# %wheel/%wheel/' -e '0,/%wheel/{s/%wheel/# %wheel/}' /etc/sudoers
|
|
|
|
ARG HOST_USER_ID=5555
|
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
|
RUN useradd -u $HOST_USER_ID -G wheel -ms /bin/bash user
|
|
|
|
USER user
|
|
WORKDIR /home/user
|
|
|
|
COPY cache-subprojects.sh .
|
|
RUN ./cache-subprojects.sh
|
|
|
|
ENV LANG C.UTF-8
|