From 57932124e6a3308bb5f0024a66aec0c76b1e49e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gim=C3=A9nez=2C=20Sergio?= <sergio.gimenez@i2cat.net>
Date: Fri, 25 Aug 2023 10:32:19 +0000
Subject: [PATCH] Avoid build process to fail if config.json is missing

---
 docker/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index 56e96f2..9fc9409 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -15,7 +15,7 @@ RUN pip install httpx sphinx sphinx_rtd_theme vale ansible
 RUN ./build-docs.sh
 
 # Generate sample configuration file, and remove an existing one if present
-RUN rm config.json >/dev/null 2>&1
+RUN rm -f config.json >/dev/null 2>&1
 RUN ln -s config.json.example config.json
 
 # ENTRYPOINT ["sleep", "inf"]
-- 
GitLab