Integrating DockerSlim container minify step on Cloud Build

Márton Kodok
Google Cloud - Community
7 min readMar 3, 2022

--

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.

--

--

Márton Kodok
Google Cloud - Community

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