Update Dockerfile

Create home folder for the user. Required by azure CLI.
This commit is contained in:
Sridhar Periyasamy 2015-12-01 11:23:13 -08:00
parent 8da5c7071f
commit 4c29fcbb03

View file

@ -30,7 +30,7 @@ RUN apt-get install -qqy sudo
# Setup User to match Host User, and give superuser permissions
ARG USER_ID=0
RUN useradd code_executor -u ${USER_ID} -g sudo
RUN useradd -m code_executor -u ${USER_ID} -g sudo
RUN echo 'code_executor ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
# With the User Change, we need to change permssions on these directories