Browse Source

gitconfig: Add default gitconfig to ease repo init

* Provide a default gitconfig so that repo init won't prompt the user.
4.4-kitkat
Kyle Manna 7 years ago
parent
commit
afa8810c40
2 changed files with 7 additions and 0 deletions
  1. +1
    -0
      Dockerfile
  2. +6
    -0
      gitconfig

+ 1
- 0
Dockerfile View File

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


+ 6
- 0
gitconfig 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

Loading…
Cancel
Save