coder / envbuilder

Build development environments from a Dockerfile on Docker, Kubernetes, and OpenShift. Enable developers to modify their development environment quickly.
Apache License 2.0
130 stars 25 forks source link

envbuilder - pass ssh key #280

Open reiser opened 1 month ago

reiser commented 1 month ago

Is it possible to pass the coder pubkey to envbuilder?

#1: 📦 Cloning git@bitbucket.org:lorem/ipsum.git to /workspaces/lorem-ipsum...
#1: 🔑 Using SSH authentication!
#1: 🔑 No SSH key found, falling back to agent!
johnstcn commented 1 month ago

@reiser Have you tried setting ENVBUILDER_GIT_SSH_KEY_PATH to the path of a private key mounted inside the container?