Update Dockerfile
This commit is contained in:
parent
ecacba1c0e
commit
229c995c8b
@ -2,7 +2,7 @@ FROM ubuntu:22.04
|
||||
|
||||
# Update the system, install OpenSSH Server, and set up users
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get install -y openssh-server
|
||||
apt-get install -y openssh-server git
|
||||
|
||||
# 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 && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user