Secrets with Docker and BuildKit (with NPM)

Posted Tuesday, April 6, 2021.

Here is how to use secrets in Docker BuildKit for an NPM project with private dependencies

SSH with Docker and BuildKit (with SPM)

Posted Saturday, April 3, 2021.

Here is how to use ssh forwarding in Docker BuildKit for an SPM project with private dependencies

Docker with Nginx and Let's Encrypt

Posted Wednesday, February 10, 2021.

Serving SSL web content through from a docker container doesn't have to be difficult. Here is one way to do it.

GitHub Actions with Private SPM Dependencies

Posted Thursday, February 4, 2021.

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?

Environment Based Themes with Dockerized React

Posted Friday, January 15, 2021.

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.

Runtime Environment Variables for Dockerized React App

Posted Thursday, January 14, 2021.

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.

Docker with Private SPM Dependencies

Posted Tuesday, January 12, 2021.

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.

Docker with Private NPM Dependencies

Posted Saturday, January 9, 2021.

There are a couple extra steps needed to build docker containers that have a dependency in a private repo. Here is how I've done it.