Skip to content

Commit 4db9ab9

Browse files
Merge pull request #15 from codefresh-io/CR-2817
Cr 2817
2 parents f47a7ef + b3d6e1d commit 4db9ab9

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.ssh/config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
IdentityFile ~/.ssh/codefresh
1+
IdentityFile ~/.ssh/codefresh

Dockerfile

+5-1
Original file line numberDiff line numberDiff 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
1414
COPY ./.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+
1620
COPY ./start.sh /run/start.sh
1721
RUN chmod +x /run/start.sh
1822

Dockerfile.aarch64

+5-1
Original file line numberDiff line numberDiff 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
1313
COPY ./.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+
1519
COPY ./start.sh /run/start.sh
1620
RUN chmod +x /run/start.sh
1721

service.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 10.0.3
1+
version: 10.0.4

0 commit comments

Comments
 (0)