更新 docker-entry-point.sh
This commit is contained in:
@ -6,6 +6,7 @@ if [ -n "$ROOT_PASSWD" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$GIT_USER" ] && [ -n "$GIT_EMAIL" ]; then
|
if [ -n "$GIT_USER" ] && [ -n "$GIT_EMAIL" ]; then
|
||||||
|
touch /root/.gitconfig
|
||||||
git config --global user.name "$GIT_USER"
|
git config --global user.name "$GIT_USER"
|
||||||
git config --global user.email "$GIT_EMAIL"
|
git config --global user.email "$GIT_EMAIL"
|
||||||
git config --global core.sshCommand "/usr/bin/ssh"
|
git config --global core.sshCommand "/usr/bin/ssh"
|
||||||
|
Reference in New Issue
Block a user