Git command syntax
This commit is contained in:
parent
838a81f416
commit
3e36488c66
1 changed files with 2 additions and 2 deletions
|
@ -91,8 +91,8 @@ ADD ./id_rsa.pub ./id_rsa.pub
|
||||||
RUN chmod 0600 id_rsa
|
RUN chmod 0600 id_rsa
|
||||||
|
|
||||||
# Precache SSH Host Keys
|
# Precache SSH Host Keys
|
||||||
RUN ssh-keyscan -H github.com >> /root/.ssh/known_hosts
|
RUN ssh-keyscan github.com >> /root/.ssh/known_hosts
|
||||||
RUN ssh-keyscan -H git.zontreck.com -p 1212 >> /root/.ssh/known_hosts
|
RUN ssh-keyscan -p 1212 git.zontreck.com >> /root/.ssh/known_hosts
|
||||||
|
|
||||||
RUN echo "Precached SSH Host keys"
|
RUN echo "Precached SSH Host keys"
|
||||||
RUN cat /root/.ssh/known_hosts
|
RUN cat /root/.ssh/known_hosts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue