Using SSH keys inside docker container
It’s a harder problem if you need to use SSH at build time. For example if you’re using git clone, or in my case pip and npm to download from a private repository. The solution I found is to add your keys using the –build-arg flag. Then you can use the new experimental –squash command … Read more