Update Dockerfile
Create home folder for the user. Required by azure CLI.
This commit is contained in:
parent
8da5c7071f
commit
4c29fcbb03
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue