summaryrefslogtreecommitdiff
path: root/.gitlab/Dockerfile
blob: 69cd3414f3c7a24115a432c07750cd4addd65741 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM fedora:latest

RUN dnf install --nogpg -y dnf-plugins-core findutils git libportal-devel tracker3-miners python3-gobject dbus-daemon libhandy1-devel \
 && dnf builddep --nogpg -y nautilus \
 && dnf clean all

RUN dnf install --nogpg -y gnome-common \
 && dnf builddep --nogpg -y gnome-autoar \
 && dnf clean all \
 && git clone --depth 1 https://gitlab.gnome.org/GNOME/gnome-autoar.git \
 && cd gnome-autoar \
 && meson . _build --prefix=/usr \
 && ninja -C _build \
 && ninja -C _build install \
 && cd .. \
 && rm -rf gnome-autoar

RUN dnf builddep --nogpg -y libhandy \
 && dnf clean all \
 && git clone --depth 1 https://gitlab.gnome.org/GNOME/libhandy.git \
 && cd libhandy \
 && meson . _build --prefix=/usr \
 && ninja -C _build \
 && ninja -C _build install \
 && cd .. \
 && rm -rf libhandy

RUN dnf builddep --nogpg -y uncrustify \
 && dnf clean all \
 && git clone --depth 1 https://github.com/uncrustify/uncrustify.git \
 && cd uncrustify \
 && mkdir build \
 && cd build \
 && cmake -DCMAKE_INSTALL_PREFIX=/usr .. \
 && make \
 && make install \
 && cd ../.. \
 && rm -rf uncrustify