Update Dockerfile
This commit is contained in:
parent
a9de09d58b
commit
1753b1f66a
@ -6,7 +6,7 @@ RUN apt-get update && apt-get upgrade -y && \
|
||||
|
||||
# Create user and set password for user and root user
|
||||
RUN useradd -rm -d /home/code -s /bin/bash -g root -G sudo -u 1000 code && \
|
||||
echo 'code:changethis' | chpasswd
|
||||
echo 'code:$CODE_PASSWORD' | chpasswd
|
||||
|
||||
# Set up configuration for SSH
|
||||
RUN mkdir /var/run/sshd && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user