CI Perf Lint

dockerfile-copy-link-without-cache-benefit

Detects COPY --link instructions whose cache benefit is unlikely to beat their build graph overhead.

This rule reports an error when COPY --link is used for:

Why it matters:

What to do:

Allowed shape:

FROM nginx:alpine
COPY --link dist/ /usr/share/nginx/html/