CI Perf Lint

dockerfile-apt-install-without-cleanup-or-cache-mount

Detects Dockerfile RUN instructions that perform apt package work without either cleaning apt lists in the same layer or using BuildKit apt cache mounts.

This rule looks for:

and reports when the same instruction does not include either:

Why it matters:

What to do: