Skip to content

Commit 58db19c

Browse files
committed
Set safe git directory.
1 parent 3375963 commit 58db19c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docker/php/81/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
66
RUN apt-get update && apt-get install zip unzip git -y \
77
&& pecl install xdebug \
88
&& pecl install pcov
9+
10+
RUN git config --global --add safe.directory /usr/src/myapp

docker/php/82/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
66
RUN apt-get update && apt-get install zip unzip git -y \
77
&& pecl install xdebug \
88
&& pecl install pcov
9+
10+
RUN git config --global --add safe.directory /usr/src/myapp

0 commit comments

Comments
 (0)