Integrating DockerSlim container minify step on Cloud Build

Whenever we are dealing with containers, the general recommendation is to make them leaner, smaller, faster, and secure. The smaller the container image is, the faster your application will spin up for the first time, and the faster it will scale.

But more on this topic, the industry weighs the benefits of having a smaller container, to be more secure as reduces the available attack surface.

On serverless container environments like Cloud Run, having a leaner container image helps to reduce cold starts.



A collection of technical articles and blogs published or curated by Google Cloud Developer Advocates. The views expressed are those of the authors and don't necessarily reflect those of Google.

Márton Kodok

Speaker at conferences, a Google Developer Expert top user on Stackoverflow, software architect at, co-founder IT Mures, life-long learner, mentor