infra/codestorage/hg-ssh
2015-10-15
Parent:bf7b66df555f
infra/codestorage/hg-ssh/Dockerfile
Pull hostkeys when pulling SSH keys. Rather than relying on Kubernetes secrets and baking public keys right in, which was bound to get fraught, we now have some graceful degradation. It defaults to automatically-generated random keys, but will try to download some keys from Google Cloud Storage for the host. If it can find some, it'll try to use those, instead.
1.1 --- a/Dockerfile Thu Oct 15 00:14:32 2015 -0700 1.2 +++ b/Dockerfile Thu Oct 15 01:32:28 2015 -0700 1.3 @@ -11,7 +11,6 @@ 1.4 RUN chmod +x /usr/local/bin/helpers/broadcast-to-frontends.sh 1.5 1.6 ADD hgrc /etc/mercurial/hgrc 1.7 -ADD hostkeys/* /tmp/sshpubkeys/ 1.8 1.9 RUN mkdir /var/run/sshd 1.10