Fix Dockerfile removing -u option

This commit is contained in:
andrea 2024-05-16 16:39:43 +02:00
parent 14364cc614
commit 48a458979b
2 changed files with 1 additions and 1 deletions

View file

@ -1,7 +1,7 @@
FROM ubuntu
RUN apt update && apt install tree nano openssh-server iproute2 sudo -y
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 test
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo test
RUN echo 'test:test' | chpasswd
RUN service ssh start

0
assets/backup/foo/bar Normal file
View file