gitconfig: Add default gitconfig to ease repo init

* Provide a default gitconfig so that repo init won't prompt the user.
This commit is contained in:
Kyle Manna 2014-11-11 12:18:35 -08:00
parent 75cef9ca0f
commit afa8810c40
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,7 @@ RUN chmod 755 /usr/local/bin/*
# All builds will be done by user aosp # All builds will be done by user aosp
RUN useradd --create-home aosp RUN useradd --create-home aosp
ADD gitconfig /home/aosp/.gitconfig
# The persistent data will be in these two directories, everything else is # The persistent data will be in these two directories, everything else is
# considered to be ephemeral # considered to be ephemeral

6
gitconfig Normal file
View File

@ -0,0 +1,6 @@
# Provide a default gitconfig to bypass repo init prompts for identity
[color]
ui = auto
[user]
name = Docker AOSP
email = aosp@aosp.docker.local