File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Expand file tree Collapse file tree 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 && \
1010 git lfs install && \
1111 apk del deps
1212
13- # add ssh record on which ssh key to use
13+ # add ssh record on which ssh key to use
1414COPY ./.ssh/ /root/.ssh/
1515
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+
1620COPY ./start.sh /run/start.sh
1721RUN chmod +x /run/start.sh
1822
Original file line number Diff line number Diff line change @@ -9,9 +9,13 @@ RUN apk add --no-cache --virtual deps openssl && \
99 git lfs install && \
1010 apk del deps
1111
12- #add ssh record on which ssh key to use
12+ # add ssh record on which ssh key to use
1313COPY ./.ssh/ /root/.ssh/
1414
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+
1519COPY ./start.sh /run/start.sh
1620RUN chmod +x /run/start.sh
1721
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