From 98be61e31622bb299fab97646829772e115944ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Mon, 26 Feb 2024 17:47:03 +0100
Subject: [PATCH] CI/CD => Remove dependency to external personal image

---
 .gitlab-ci.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3ea2bb4..5cc7592 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: omalaspinas/zola
+image: rust:slim-bookworm
 
 variables:
   GIT_SUBMODULE_STRATEGY: recursive
@@ -8,6 +8,13 @@ stages:
   - check_links
 
 before_script:
+    ##
+    ## Install zola
+    ##
+    - apt update && apt upgrade -y && apt install rsync wget nodejs npm -y
+    - npm install broken-link-checker -g
+    - wget https://github.com/getzola/zola/releases/download/v0.18.0/zola-v0.18.0-x86_64-unknown-linux-gnu.tar.gz && tar xzvf zola-v0.18.0-x86_64-unknown-linux-gnu.tar.gz && mv zola /usr/local/bin && chmod +x /usr/local/bin/zola
+
     ##
     ## Install ssh-agent if not already installed, it is required by Docker.
     ## (change apt-get to yum if you use an RPM-based image)
-- 
GitLab