Skip to content

Commit 70ccd86

Browse files
authored
Update Dockerfile
1 parent d3cdfa5 commit 70ccd86

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ RUN apt-get install -y wget curl vim sudo systemd ifupdown rsyslog logrotate les
77
RUN wget -qO gotty.tar.gz https://github.com/yudai/gotty/releases/latest/download/gotty_linux_amd64.tar.gz
88
RUN tar xf gotty.tar.gz -C /usr/local/bin
99

10-
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1001 ubuntu
11-
USER ubuntu
12-
WORKDIR /home/ubuntu
10+
RUN echo 'root' | passwd --stdin root
11+
12+
WORKDIR /tmp

0 commit comments

Comments
 (0)