All jobs / DevOps / SRE / cloud / Containers

DevOps / SRE / cloud interview question · 1–3 years

CI rebuilds a 12-minute Docker image on every commit. What do you change first?

The strongest answer

Order the Dockerfile so dependency layers stay cached, and cache those layers in CI — I do not start with a bigger runner

Why it works

Exactly. Cache-friendly layers, then CI cache. Hardware is later.

What a good answer covers

Answers that fall short

Who gets asked this

More Containers questions