From 5d1776632b053a0ffb386bc95ecf9f7b1412d276 Mon Sep 17 00:00:00 2001 From: mol Date: Fri, 26 Jan 2024 09:51:37 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20docker-entry-point.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-entry-point.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-entry-point.sh b/docker-entry-point.sh index ba97485..024d6ab 100755 --- a/docker-entry-point.sh +++ b/docker-entry-point.sh @@ -6,6 +6,7 @@ if [ -n "$ROOT_PASSWD" ]; then fi if [ -n "$GIT_USER" ] && [ -n "$GIT_EMAIL" ]; then + touch /root/.gitconfig git config --global user.name "$GIT_USER" git config --global user.email "$GIT_EMAIL" git config --global core.sshCommand "/usr/bin/ssh"