File tree 4 files changed +12
-4
lines changed
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
- IdentityFile ~/.ssh/codefresh
1
+ IdentityFile ~/.ssh/codefresh
Original file line number Diff line number Diff line change @@ -10,9 +10,13 @@ RUN apk add --no-cache --virtual deps openssl && \
10
10
git lfs install && \
11
11
apk del deps
12
12
13
- # add ssh record on which ssh key to use
13
+ # add ssh record on which ssh key to use
14
14
COPY ./.ssh/ /root/.ssh/
15
15
16
+ # add fingerprint for major git providers
17
+ RUN ssh-keyscan github.com >> /root/.ssh/known_hosts
18
+ RUN ssh-keyscan bitbucket.org >> /root/.ssh/known_hosts
19
+
16
20
COPY ./start.sh /run/start.sh
17
21
RUN chmod +x /run/start.sh
18
22
Original file line number Diff line number Diff line change @@ -9,9 +9,13 @@ RUN apk add --no-cache --virtual deps openssl && \
9
9
git lfs install && \
10
10
apk del deps
11
11
12
- #add ssh record on which ssh key to use
12
+ # add ssh record on which ssh key to use
13
13
COPY ./.ssh/ /root/.ssh/
14
14
15
+ # add fingerprint for major git providers
16
+ RUN ssh-keyscan github.com >> /root/.ssh/known_hosts
17
+ RUN ssh-keyscan bitbucket.org >> /root/.ssh/known_hosts
18
+
15
19
COPY ./start.sh /run/start.sh
16
20
RUN chmod +x /run/start.sh
17
21
Original file line number Diff line number Diff line change 1
- version : 10.0.3
1
+ version : 10.0.4
You can’t perform that action at this time.
0 commit comments