Precache two SSH Host keys
This commit is contained in:
parent
83bb220d3a
commit
074f4bdba8
1 changed files with 3 additions and 0 deletions
|
@ -90,4 +90,7 @@ ADD ./id_rsa.pub ./id_rsa.pub
|
|||
|
||||
RUN chmod 0600 id_rsa
|
||||
|
||||
RUN ssh-keyscan -H github.com >> /root/.ssh/known_hosts
|
||||
RUN ssh-keyscan -H git.zontreck.com >> /root/.ssh/known_hosts
|
||||
|
||||
ENTRYPOINT [ "java", "-jar", "/agent.jar", "-url", "https://ci.zontreck.com", "-secret", "@/agent.secret", "-name", "Linux", "-workDir", "/builder" ]
|
Loading…
Add table
Add a link
Reference in a new issue