Managing build time secrets can be a huge pain with docker. If you’ve built a docker image with private repositories, you might benefit from reading this. There are multiple solutions floating around the internet for this problem. We’ll start with the obviously bad ones and work our way up.