From b6784056cfb0779653fa09516623a787bfc15dcd Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Wed, 15 Feb 2023 01:07:51 +0100 Subject: [PATCH] add git config to get rid of error in drone pipeline --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 5be83ee..44ecc8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,5 +12,6 @@ WORKDIR ${HOMEDIR} COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt RUN rm requirements.txt +RUN git config --global --add safe.directory /drone/src CMD [ "ansible-lint" ] \ No newline at end of file