I have a docker build that needs to `go get` and pull some packages from private repos.
I'm running using the default Atlassian image, and it is able to build the binary outside of docker, but when I do `docker build` I don't have access to the same ssh keys.
How can I copy these keys inside the docker build? I can't find any keys in `/root/.ssh` or in any other location?
Hmm, isn't this approach (passing the SSH keys to the Docker file) that you should be following?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.