Shrink an Image

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

Your production image is one and a half gigabytes because it contains compilers, test tools and the whole source tree. Explain why size matters and how you'd use a multi-stage build and other techniques to make it small.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →