Skip to content

Commit cee9125

Browse files
authored
fixed end of line 12
need to add \ at line 12, otherwise && will be considered as un-recongonized command
1 parent 9ba0528 commit cee9125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install openssh-
99
ADD set_root_pw.sh /set_root_pw.sh
1010
ADD run.sh /run.sh
1111
RUN chmod +x /*.sh
12-
RUN mkdir -p /var/run/sshd && sed -i "s/UsePrivilegeSeparation.*/UsePrivilegeSeparation no/g" /etc/ssh/sshd_config
12+
RUN mkdir -p /var/run/sshd && sed -i "s/UsePrivilegeSeparation.*/UsePrivilegeSeparation no/g" /etc/ssh/sshd_config \
1313
&& sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config \
1414
&& touch /root/.Xauthority \
1515
&& true

0 commit comments

Comments
 (0)