From 76c79ee5ae24ef517e672f0e602fd3e9d0779dc4 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Thu, 11 Jun 2015 10:39:30 +0200 Subject: [PATCH] Add user to sudo group --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 22d0fd4..78fc505 100644 --- a/Dockerfile +++ b/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