File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ RUN apt-get update && apt-get -y upgrade && \
12
12
xxd iptables isc-dhcp-client isc-dhcp-common kmod less netcat-openbsd
13
13
14
14
# Make a user, then copy over the /example directory
15
- RUN useradd -m user
15
+ RUN useradd -m user && echo "user:password" | chpasswd
16
16
COPY --chown=user:user ./examples /home/user/examples
17
17
RUN chmod -R +x /home/user/examples/lua
18
- CMD [ "/bin/bash" ]
18
+ RUN echo 'root:password' | chpasswd
19
+ CMD [ "/bin/bash" ]
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ RUN apt-get -y install apt-utils gcc \
7
7
patch wamerican ucf manpages \
8
8
file luajit make lua50 dialog curl \
9
9
less cowsay netcat-openbsd
10
- RUN useradd -m user
10
+ RUN useradd -m user && echo "user:password" | chpasswd
11
11
COPY --chown=user:user ./examples /home/user/examples
12
12
RUN chmod -R +x /home/user/examples/lua
13
+ RUN echo 'root:password' | chpasswd
13
14
CMD [ "/bin/bash" ]
You can’t perform that action at this time.
0 commit comments