Update Dockerfile
This commit is contained in:
parent
90f520e813
commit
f40f3acfed
@ -6,6 +6,7 @@ RUN apt-get update && apt-get upgrade -y && \
|
||||
|
||||
# Create user and set password for user and root user
|
||||
ARG CODE_PASSWORD
|
||||
ENV CODE_PASSWORD=$CODE_PASSWORD
|
||||
RUN useradd -rm -d /home/code -s /bin/bash -g root -G sudo -u 1000 code && \
|
||||
echo 'code:$CODE_PASSWORD' | chpasswd
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user