summaryrefslogtreecommitdiffstats
path: root/.gitlab/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitlab/Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab/Dockerfile b/.gitlab/Dockerfile
new file mode 100644
index 0000000..f473ada
--- /dev/null
+++ b/.gitlab/Dockerfile
@@ -0,0 +1,14 @@
+FROM fedora:latest
+
+RUN dnf install --nogpg -y dnf-plugins-core findutils git \
+ && 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