Set shell to bash

This commit is contained in:
Mathieu Maret 2016-08-23 15:31:46 +02:00
parent c0c141797e
commit 6723b54c4b
2 changed files with 2 additions and 2 deletions

View File

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

View File

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