1. Lint a Dockerfile full of classic anti-patterns
Platform engineerBackground
A shared Ubuntu image still uses :latest, MAINTAINER, sudo, ADD for a plain file, an ENV secret and a shell-form CMD.
Problem
Identify every high-impact violation with exact lines and suggested replacements in one pass.
How to use
Paste the Dockerfile that begins FROM ubuntu:latest and leave severity at “All findings (info and up)” with HEALTHCHECK enabled.
severityFloor=info, checkHealthcheck=trueOutcome
16 findings: 4 errors (DL4000, DL3004, DL3020, DL3011), 8 warnings and 4 info items, each showing the line and a one-line fix.