mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
no issue - Currently running any `git` commands in the docker container (i.e. updating submodules) that use ssh are failing because the container can't see your ssh keys. This commit adds a volume & environment variable to enable forwarding your local ssh agent into the container. As long as you've got an ssh agent running locally with your keys enabled, this will allow you to e.g. push to a remote over ssh from inside the container. - It also mounts your local `.gitconfig` file into the container, so your git configuration (i.e. name & email address) will also work inside the container - Finally, it adds githubs ssh keys to known_hosts in the development target of the Dockerfile to avoid the prompt, which only works in interactive environments and fails in any kind of script (like `yarn main:submodules`). |
||
---|---|---|
.. | ||
grafana | ||
mysql-preload | ||
prometheus | ||
development.entrypoint.sh | ||
Dockerfile |