summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2023-01-10 08:48:15 -0800
committerOndrej Holy <oholy@redhat.com>2023-01-16 12:11:25 +0000
commitd06ca828a0c2abb7e9d91b0c05dd24e4ba55642d (patch)
tree8809c94c2a75aa8c71b6e306fc27d41f5eaabc8e /.gitlab
parentc8fe797462f11e6dde2c0c45c4cfda4ef6299205 (diff)
downloadnautilus-d06ca828a0c2abb7e9d91b0c05dd24e4ba55642d.tar.gz
ci: Docker image add dependencies to build nautilus for docs
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab/Dockerfile b/.gitlab/Dockerfile
index 92dbd60a2..c6b30f6e4 100644
--- a/.gitlab/Dockerfile
+++ b/.gitlab/Dockerfile
@@ -1,4 +1,25 @@
FROM fedora:latest
RUN dnf install --nogpg -y dnf-plugins-core findutils git uncrustify \
+ && dnf builddep --nogpg -y nautilus \
&& dnf clean all
+
+RUN dnf builddep -y gtk4 \
+ && dnf clean all \
+ && git clone --depth 1 https://gitlab.gnome.org/GNOME/gtk.git \
+ && cd gtk \
+ && meson setup _build --prefix /usr \
+ && ninja -C _build \
+ && ninja install -C _build \
+ && cd .. \
+ && rm -rf gtk
+
+ RUN dnf builddep -y libadwaita \
+ && dnf clean all \
+ && git clone --depth 1 https://gitlab.gnome.org/GNOME/libadwaita.git \
+ && cd libadwaita \
+ && meson setup _build --prefix /usr \
+ && ninja -C _build \
+ && ninja install -C _build \
+ && cd .. \
+ && rm -rf libadwaita \ No newline at end of file