Skip to content

Commit be109ad

Browse files
committed
Fix GH actions permissions issue
See actions/runner-images#6775.
1 parent 73529f3 commit be109ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dockerfile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ echo -e "
2020
FROM $PHP_IMAGE
2121
2222
RUN apt-get update && apt-get install -y curl git unzip libgmp-dev libonig-dev && \\
23+
git config --global --add safe.directory '*' && \\
2324
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h && \\
2425
echo memory_limit = 256M > \$(php -r 'echo PHP_CONFIG_FILE_SCAN_DIR;')/zz-custom.ini && \\
2526
docker-php-ext-install mbstring gmp${RUN_CMDS}

0 commit comments

Comments
 (0)