QuestionQ260

VerifiedCloud Native Application Delivery

Which choice reflects best practices for building container images?

Explanation

Multi-stage builds keep compilers, build dependencies, and intermediate artifacts out of the final runtime image. Pinning the base image to a specific digest provides an immutable, reproducible base, while installing only necessary packages reduces image size and attack surface.

Community Discussion

No comments yet. Be the first to start the discussion!