Loading lesson…
Level 1 · Apprentice0 XP
Images, layers, multi-stage builds and small, safe containers.
Step 1 / 6
ProblemThe app needs Java 25, a specific font library and a timezone file. Each server is set up by hand, and each is slightly different.
← → step
Before this: The twelve-factor app
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Write a multi-stage Dockerfile for a small Spring Boot app (a fresh project from start.spring.io with one /hello endpoint is enough), run it as non-root, compare the image size with a single-stage build, and scan it with Trivy.