-
-
Notifications
You must be signed in to change notification settings - Fork 175
/
Dockerfile
18 lines (16 loc) · 1.02 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ghcr.io/gtk-rs/gtk-rs-core/core:latest
RUN dnf update --assumeyes && \
dnf --assumeyes install xorg-x11-server-Xvfb procps-ng clang-devel \
libxkbcommon-devel wayland-devel mesa-libEGL-devel blueprint-compiler \
libXi-devel libXrandr-devel libXcursor-devel libXdamage-devel libXinerama-devel \
appstream-devel libdrm-devel vulkan-devel glslc && \
dnf clean all --assumeyes
RUN git clone https://gitlab.gnome.org/gnome/gtk.git --depth=1 && \
(cd /gtk && \
meson setup builddir --prefix=/usr --buildtype release -Dintrospection=enabled -Dbuild-examples=false -Dbuild-tests=false -Dmedia-gstreamer=disabled -Dlibepoxy:tests=false && \
meson install -C builddir) && \
git clone https://gitlab.gnome.org/GNOME/libadwaita.git --depth=1 --branch libadwaita-1-6 && \
(cd /libadwaita && \
meson setup builddir --prefix=/usr --buildtype release -Dintrospection=disabled -Dvapi=false -Dexamples=false -Dtests=false && \
meson install -C builddir) && \
rm -rf /gtk /libadwaita