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:...