Fix Dockerfile removing -u option
This commit is contained in:
parent
14364cc614
commit
48a458979b
2 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
FROM ubuntu
|
FROM ubuntu
|
||||||
|
|
||||||
RUN apt update && apt install tree nano openssh-server iproute2 sudo -y
|
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 echo 'test:test' | chpasswd
|
||||||
RUN service ssh start
|
RUN service ssh start
|
||||||
|
|
||||||
|
|
0
assets/backup/foo/bar
Normal file
0
assets/backup/foo/bar
Normal file
Loading…
Reference in a new issue