Add user to sudo group

This commit is contained in:
Mathieu Maret 2015-06-11 10:39:30 +02:00
parent 17bc9d864f
commit 3aae115d61
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ ADD https://commondatastorage.googleapis.com/git-repo-downloads/repo /usr/local/
RUN chmod 755 /usr/local/bin/*
# All builds will be done by user aosp
RUN useradd --create-home aosp
RUN useradd --create-home aosp && echo "aosp:aosp" | chpasswd && adduser aosp sudo
ADD gitconfig /home/aosp/.gitconfig
ADD ssh_config /home/aosp/.ssh/config
RUN chown aosp:aosp /home/aosp/.gitconfig