diff --git a/Dockerfile b/Dockerfile index 63ed589..4807210 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/gitconfig b/gitconfig new file mode 100644 index 0000000..3ef01cc --- /dev/null +++ b/gitconfig @@ -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