Closed cmmartin closed 8 years ago
This project is for the Heroku CLI only. Please submit a support ticket for help with your application.
I'm not looking for help. I'm looking for a yes or no answer as to whether Heroku CLI provides a means to inject host keys into the container. It seems strange that it would support SSH keys, but not host keys. That's only half the battle. Anyway, I guess this isn't the forum for this kind of question.
I'm trying to push a Node.js application to Heroku. The app uses npm to fetch private github repositories, which are specified in
package.json
, like this...The build fails during the
npm install
phase because the github host keys are not in the containersknown_hosts
file.This is expected behavior of SSH. Does Heroku provide a workaround for this? For example, dokku, which uses the same buildpack has a host keys plugin that will inject the host keys into the container before each build, which resolves this issue. Does Heroku have a similar solution?