docker: add gitconfig to mark all safe directories

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
This commit is contained in:
Théo Lebrun 2024-12-24 16:05:17 +01:00
parent 24e11d2749
commit 9c387e4835
2 changed files with 3 additions and 0 deletions

View file

@ -46,6 +46,7 @@ RUN python3 -m venv venv && \
RUN mkdir -p /srv/elixir-data/
COPY ./docker/000-default.conf /etc/apache2/sites-available/000-default.conf
COPY ./docker/gitconfig /etc/gitconfig
RUN a2enmod rewrite

2
docker/gitconfig Normal file
View file

@ -0,0 +1,2 @@
[safe]
directory = *