Skip to content

Commit dcb82eb

Browse files
committed
move comment line
1 parent 497e805 commit dcb82eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spark-cluster/base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ RUN apt-get update -y \
2626
&& apt-get -y install nano net-tools lynx \
2727
&& apt-get clean
2828

29+
# setup ssh
2930
RUN mkdir /var/run/sshd && \
3031
echo 'root:root' | chpasswd && \
3132
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
3233

33-
# setup ssh
3434
COPY ubuntu/root/.ssh/* /root/.ssh/
3535
RUN cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys \
3636
&& chmod 0600 /root/.ssh/authorized_keys

0 commit comments

Comments
 (0)