Shell Script not able to access SSH_AUTH_SOCK environment variable
I am trying to build a docker image through a script, this script or any other script which I have tested with is not able to access SSH_AUTH_SOCK variable, when i echo in terminal it works, but when i echo in script it is just empty.