csantanapr commented on issue #26: git clone not working when using ssh git url 
(add ssh client)
URL: 
https://github.com/apache/incubator-openwhisk-runtime-docker/issues/26#issuecomment-387619448
 
 
   It looks like `openssh-client` package in alpine only adds client no deamon.
   And this is what's require to get git clone working with ssh access.
   Here is an example:
   ```
   docker run --rm -v ~/.ssh:/ssh  dockerskeleton bash -c "export 
GIT_SSH_COMMAND=\"ssh -i /ssh/id_rsa -o UserKnownHostsFile=/dev/null -o 
StrictHostKeyChecking=no\";git clone --depth 1 
g...@github.com:apache/incubator-openwhisk.git;cat 
incubator-openwhisk/README.md"
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to