Is it possible to use ssh-agent within an alpine image ?
I have the requirement to use an alpine image for my build. When I use the example for using an ssh key during the build, I have the following error :
$ which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
/bin/sh: eval: line 47: apt-get: not found
$ eval $(ssh-agent -s)
/bin/sh: eval: line 49: ssh-agent: not found
$ ssh-add <(echo "$SSH_PRIVATE_KEY")
/bin/sh: eval: line 51: syntax error: unexpected "("
Is it possible to translate these for alpine linux ?