Code Review Videos > 2023

Multi-Stage Docker Build Arg Example

Today I needed access to an environment variable whilst building a Docker image from a Dockerfile. To make the example concrete, I wanted to get access to the Git commit hash exposed in a CircleCI build. The idea was to then use this commit hash inside my build as a cache buster on client side … Read more

How I Fixed: (WARN) Define ts-jest config under globals is deprecated.

You know the drill: leave the office for the day on Wednesday, everything works. Open the laptop Thursday morning, errors everywhere. No? It can’t just be me… surely. Well, today’s issue was when I ran my Jest tests, all of a sudden I started to see this: And this kinda tells you what is wrong. … Read more