-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (20 loc) · 894 Bytes
/
Dockerfile
File metadata and controls
25 lines (20 loc) · 894 Bytes
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
FROM ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
# Set mold as default linker (temporarily disabled)
# RUN dnf install mold -y
# RUN ln -sf $(which mold) $(realpath /usr/bin/ld)
# Build libadwaita
RUN git clone https://gitlab.gnome.org/GNOME/libadwaita.git --depth=1 && \
(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
# Build libpanel
RUN git clone https://gitlab.gnome.org/chergert/libpanel.git && \
(cd libpanel && \
meson setup builddir --prefix=/usr -Dintrospection=disabled -Dvapi=false -Ddocs=disabled && \
meson install -C builddir) && \
cd ../ && \
rm -rf libpanel
RUN dnf install openssl-devel -y
# Temporary workaround: Install libpanel with dnf
# RUN dnf install libpanel-devel -y