Here is how to use secrets in Docker BuildKit for an NPM project with private dependencies
Here is how to use ssh forwarding in Docker BuildKit for an SPM project with private dependencies
Serving SSL web content through from a docker container doesn't have to be difficult. Here is one way to do it.
Docker with private SPM dependenencies has been solved. GitHub actions to build Docker images has been solved. How can we combine these techniques to build Docker images with private SPM dependencies?
I found myself deploying a react app to different business units of my organization. Both wanted their separate colours to be used in the styling. I wanted to use the same docker image/react app and this is how I accomplished that.
React apps in docker containers break 12-Factor principle due to how environment variables are baked in at build time. This is how you can can inject runtime variables into them instead.
Building an SPM application with private dependencies is easy locally, but it gets a bit harder when you are building inside of Docker. This is how I accomplished it.