StackStorm / st2-docker

StackStorm docker-compose deployment
https://docs.stackstorm.com/install/docker.html
Apache License 2.0
188 stars 158 forks source link

Support SSH agent fwd for actionrunner on macos #245

Open k-willowhawk opened 2 years ago

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

k-willowhawk commented 2 years ago

This is needed if packs are to be installed from private Git repos, and allows the action runner to leverage the SSH key forwarding agent from the host so we don't need to load private keys on disposable docker containers.

The socket path is specific to macOS (newer versions at that).

Reference I used to modify this: https://stackoverflow.com/questions/27036936/using-ssh-agent-with-docker-on-macos