Multi-stage container images from dev to production

Multi-stage container images have been a good friend of mine for some time now. They enable projects to package smarter by splitting the build and run phases of a given software. Intro to multi-stage Let’s start with a simple hello world program in Go! Here is a minimal working example that will be used for our next builds: package main import "fmt" func main() { fmt.Println("Hello from Lambda! :)") } And our initial, easy to use, Dockerfile will look like this:...

August 16, 2025 · 6 min · 1164 words · Theo "Bob" Massard

Watermarking pictures (fast) using Pillow and Libvips

Working in the media processing industry, I very often encounter 2 concepts: adding overlay to images and doing it fast. As I’m very much interested in tackling this problem well enough and using proper tooling for performance efficiency, I explored several options that allow watermarking pictures. Code is available at github.com/tbobm/watermarking-images-for-fun-and-profit Watermarking pictures To put things back in context, watermarking is the act of applying an overlay to a media. This can be performed through many different operation and is used to apply branding, establish ownership, or limit usage to a specific audience 1....

November 13, 2024 · 7 min · 1279 words · Theo "Bob" Massard