Update Dockerfile
This commit is contained in:
parent
56a80f8d96
commit
c74abbb6a0
@ -5,6 +5,7 @@ RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get install -y openssh-server git
|
||||
|
||||
# Create user and set password for user and root user
|
||||
ARG 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