Precache two SSH Host keys

This commit is contained in:
zontreck 2024-07-09 16:48:56 -07:00
parent 83bb220d3a
commit 074f4bdba8

View file

@ -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" ]