From dcee87af471c07989e455f976bd56b79c52c0965 Mon Sep 17 00:00:00 2001 From: Emilio Perez Date: Tue, 20 Jun 2023 13:48:20 +0100 Subject: [PATCH] Make sure git doesn't fail when obtaining a tag name --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6921b6f..a0a5bdf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,6 +60,9 @@ RUN bash scripts/config-file-rootfs.sh # Error can't find python RUN ln -s /usr/bin/python3 /usr/bin/python -# Entrypoint into the container +# Make sure git doesn't fail when used to obtain a tag name +RUN git config --global --add safe.directory '*' + +# Entrypoint into the container WORKDIR /repos CMD ["/bin/bash"]