Browse Source

Add user to sudo group

kitkat
Mathieu Maret 6 years ago
parent
commit
76c79ee5ae
  1. 2
      Dockerfile

2
Dockerfile

@ -24,7 +24,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

Loading…
Cancel
Save