更新 docker-entry-point.sh

This commit is contained in:
mol
2024-01-26 09:51:37 +00:00
parent c3554807ba
commit 5d1776632b

View File

@ -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"