Blazing Fast GoLang Docker Builds

How I improved my GoLang Docker build times by 120x.

Abhinav Sonkar
ITNEXT
Published in
6 min readMar 25, 2024

--

Photo by Marc-Olivier Jodoin on Unsplash

These days I am working on a GoLang project at work. It is a pleasant change from the usual Java and Spring Boot applications :).

Like all our components, this GoLang project also has to be wrapped in a container to be executed in a Kubernetes cluster. So I wrote a Dockerfile:

--

--