diff --git a/LinuxGeneralCompiler/Dockerfile b/LinuxGeneralCompiler/Dockerfile index a4f8f9c..488c250 100644 --- a/LinuxGeneralCompiler/Dockerfile +++ b/LinuxGeneralCompiler/Dockerfile @@ -90,7 +90,11 @@ ADD ./id_rsa.pub ./id_rsa.pub RUN chmod 0600 id_rsa +# Precache SSH Host Keys RUN ssh-keyscan -H github.com >> /root/.ssh/known_hosts RUN ssh-keyscan -H git.zontreck.com -p 1212 >> /root/.ssh/known_hosts +RUN echo "Precached SSH Host keys" +RUN cat /root/.ssh/known_hosts + ENTRYPOINT [ "java", "-jar", "/agent.jar", "-url", "https://ci.zontreck.com", "-secret", "@/agent.secret", "-name", "Linux", "-workDir", "/builder" ] \ No newline at end of file