Skip to content

Commit 4f5b03a

Browse files
committed
copy over ssh stuf
1 parent c1c5025 commit 4f5b03a

File tree

4 files changed

+41
-4
lines changed

4 files changed

+41
-4
lines changed

spark-cluster/base/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ RUN apt-get update -y \
2727
&& apt-get clean
2828

2929
# setup ssh
30-
RUN ssh-keygen -t rsa -P "" -f /root/.ssh/id_rsa \
31-
&& cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys \
32-
&& chmod 0600 /root/.ssh/authorized_keys
33-
COPY ubuntu/root/.ssh/config /root/.ssh/config
30+
COPY ubuntu/root/.ssh/* /root/.ssh/
3431

3532
# setup hadoop
3633
RUN wget -q https://dlcdn.apache.org/hadoop/common/hadoop-3.4.1/hadoop-3.4.1.tar.gz -O /tmp/hadoop.tar.gz \
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC+xy8DlXPqRraWYsCUCABRtOl60Z8MRMmX0cZEog/8rKvUSy8yxL2Nt+2tTyLgvJE9VtzSOt9ZQcaQsWTcdM+UN9CQDDZ8SZ2i5ymcrrVTk8kay+gVjfZBwYvmvt/5Hw358ZqHAtTM1JTWVqb/a8ItkY25mvRxPF4VudLZ7khP9EzrRu07JrHziIpq7axga1PVM+/O7pbPjzzzqC4ejPVAvCKqeariuWLvxzhtQpAk5veru5QkHiOlEJx/Nh59yPP8aAKV/QCqTpoBiUcOD9uZzN3vT35g46ceWnnTocfk5Eh5qMzzDwdvHW+gqAgtgtoYRyXtlvoGLO7gh4CC+2Y7MzDxVM//Ev6qCuoQrbmmcm8ZiSawKXI6/IlwaSJpmMmmdwY6ugrxDYFjjQRjIpgDHPJqAaa1ZSXcng6YT14NFY0dDxY1Re0biTQQ+oGpppZbK2RaB5DGUsK+2nJja6184UFwseq5fiVc1oQ/YYF9NH3az/B8suE5L0bihA+rDDM= root@buildkitsandbox
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
-----BEGIN OPENSSH PRIVATE KEY-----
2+
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
3+
NhAAAAAwEAAQAAAYEAvscvA5Vz6ka2lmLAlAgAUbTpetGfDETJl9HGRKIP/Kyr1EsvMsS9
4+
jbftrU8i4LyRPVbc0jrfWUHGkLFk3HTPlDfQkAw2fEmdoucpnK61U5PJGsvoFY32QcGL5r
5+
7f+R8N+fGahwLUzNSU1lam/2vCLZGNuZr0cTxeFbnS2e5IT/RM60btOyax84iKau2sYGtT
6+
1TPvzu6Wz48886guHoz1QLwiqnmq4rli78c4bUKQJOb3q7uUJB4jpRCcfzYefcjz/GgClf
7+
0Aqk6aAYlHDg/bmczd709+YOOnHlp506HH5ORIeajM8w8Hbx1voKgILYLaGEcl7Zb6Bizu
8+
4IeAgvtmOzMw8VTP/xL+qgrqEK25pnJvGYkmsClyOvyJcGkiaZjJpncGOroK8Q2BY40EYy
9+
KYAxzyagGmtWUl3J4OmE9eDRWNHQ8WNUXtG4k0EPqBqaaWWytkWgeQxlLCvtpyY2utfOFB
10+
cLHquX4lXNaEP2GBfTR92s/wfLLhOS9G4oQPqwwzAAAFkP57gGz+e4BsAAAAB3NzaC1yc2
11+
EAAAGBAL7HLwOVc+pGtpZiwJQIAFG06XrRnwxEyZfRxkSiD/ysq9RLLzLEvY237a1PIuC8
12+
kT1W3NI631lBxpCxZNx0z5Q30JAMNnxJnaLnKZyutVOTyRrL6BWN9kHBi+a+3/kfDfnxmo
13+
cC1MzUlNZWpv9rwi2Rjbma9HE8XhW50tnuSE/0TOtG7TsmsfOIimrtrGBrU9Uz787uls+P
14+
PPOoLh6M9UC8Iqp5quK5Yu/HOG1CkCTm96u7lCQeI6UQnH82Hn3I8/xoApX9AKpOmgGJRw
15+
4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0pq1Wz4uLcDM8ltqjoLKA5lN5xnEcAAADBAO8AHNZmn9fUbvQe
30+
zzT9AWsWvVpVs60FbyDsrfc6YYHobfHJIGepTCtElEhZ0Bn9FBxCIs1Q0zePF9airmYaLU
31+
lgRYj7lgodDypKMvOvND2/xrFFw2wuwJNssFIoMAM6H9LfFiWNtdnzcQaTBbzk6G6rnfym
32+
FMd2MZIg8p+6CRNGYNKONH8a6J59tIzhg8ESAE74ztuF4FNeRKaShsJuc+TBJagYneQ2A8
33+
g7d5yDECBrblKWbciZRzkF3FHdO4lWJwAAAMEAzFkBENMHovczEhZHtmnG+OiVGmcwYsJN
34+
Z75fMdV7ykdlFxa6l0ZGZIwdqhgkw0fvJ54txC9R7aaOXVWKEK8tsx9k7tYWvbE+J5wkVr
35+
Wlb/I8CgtCyxko04Zg4oRYXJXpXMKAlpTtYmdQFaogRoWr6CQKUJ/05X4DKGcZWCqwGLqZ
36+
nQ+KGgSssYIVuhfAQ1ROdlAu2ckIPWVHMiCetRrQtdGdJB+2WmBLDvvESVF8ierUOSPmWi
37+
GL3P4vKNu/IQ0VAAAAFHJvb3RAYnVpbGRraXRzYW5kYm94AQIDBAUG
38+
-----END OPENSSH PRIVATE KEY-----
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC+xy8DlXPqRraWYsCUCABRtOl60Z8MRMmX0cZEog/8rKvUSy8yxL2Nt+2tTyLgvJE9VtzSOt9ZQcaQsWTcdM+UN9CQDDZ8SZ2i5ymcrrVTk8kay+gVjfZBwYvmvt/5Hw358ZqHAtTM1JTWVqb/a8ItkY25mvRxPF4VudLZ7khP9EzrRu07JrHziIpq7axga1PVM+/O7pbPjzzzqC4ejPVAvCKqeariuWLvxzhtQpAk5veru5QkHiOlEJx/Nh59yPP8aAKV/QCqTpoBiUcOD9uZzN3vT35g46ceWnnTocfk5Eh5qMzzDwdvHW+gqAgtgtoYRyXtlvoGLO7gh4CC+2Y7MzDxVM//Ev6qCuoQrbmmcm8ZiSawKXI6/IlwaSJpmMmmdwY6ugrxDYFjjQRjIpgDHPJqAaa1ZSXcng6YT14NFY0dDxY1Re0biTQQ+oGpppZbK2RaB5DGUsK+2nJja6184UFwseq5fiVc1oQ/YYF9NH3az/B8suE5L0bihA+rDDM= root@buildkitsandbox

0 commit comments

Comments
 (0)