We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 497e805 commit dcb82ebCopy full SHA for dcb82eb
spark-cluster/base/Dockerfile
@@ -26,11 +26,11 @@ RUN apt-get update -y \
26
&& apt-get -y install nano net-tools lynx \
27
&& apt-get clean
28
29
+# setup ssh
30
RUN mkdir /var/run/sshd && \
31
echo 'root:root' | chpasswd && \
32
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
33
-# setup ssh
34
COPY ubuntu/root/.ssh/* /root/.ssh/
35
RUN cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys \
36
&& chmod 0600 /root/.ssh/authorized_keys
0 commit comments