From bc3a9d5062fc6a4d8884b18315a661c0e2ac7efb Mon Sep 17 00:00:00 2001
From: Nico Boehr <nico@nicoboehr.de>
Date: Mon, 13 Mar 2023 11:51:13 +0100
Subject: [PATCH] add workaround for new git version

fixes:
fatal: detected dubious ownership in repository at '/builds/firmware/site-ffs'
---
 Dockerfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 4afca4a..521ece2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,3 +26,6 @@ RUN apt-get update \
 # gluon build fails when running as root
 RUN adduser --quiet --disabled-login --gecos '' build
 USER build:build
+# workaround for fatal: detected dubious ownership in repository at '/builds/firmware/site-ffs'
+# https://gitlab.com/gitlab-org/gitlab-runner/-/issues/29022
+RUN git config --global --add safe.directory '*'
-- 
GitLab