summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2020-03-26 10:26:58 +0100
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2020-04-05 16:22:26 +0000
commita6eca5c513705a50a86422e7a058c76b41eb3788 (patch)
tree8fb6cfa3b824f323aa79c5719aa8c525f582c565 /.gitlab
parentb945567a645dde505518f22888f03393bafd9481 (diff)
downloadnautilus-a6eca5c513705a50a86422e7a058c76b41eb3788.tar.gz
ci: Use docker image to speed up jobs
Fedora and style check jobs install dependencies on each run. This causes that the pipelines take a long time. Let's use a custom docker image to not block runners for such a long time and to get the pipeline results faster. This commit also adds a new job to generate the docker image for us.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab/Dockerfile b/.gitlab/Dockerfile
new file mode 100644
index 000000000..3861b3f84
--- /dev/null
+++ b/.gitlab/Dockerfile
@@ -0,0 +1,5 @@
+FROM fedora:rawhide
+
+RUN dnf install -y dnf-plugins-core uncrustify findutils \
+ && dnf builddep -y nautilus \
+ && dnf clean all