Sprawdzanie Dockerfile

Sprawdza Dockerfile według reguł niezawodności bez uruchamiania budowania: przypięte wersje obrazów i pakietów, czyszczenie pamięci apt, sudo, forma JSON dla CMD i ENTRYPOINT, pipefail w potokach, COPY zamiast ADD dla plików lokalnych, COPY --from na nieznany etap, ostatni użytkownik root, kolejne RUN i przestarzały MAINTAINER. Każde zgłoszenie ma kod reguły, poziom i numer wiersza, a wynik można pobrać jako CSV.

Checks a Dockerfile against reliability rules without running a build: pinned image and package versions, apt cache cleanup, sudo, JSON form of CMD and ENTRYPOINT, pipefail in pipelines, COPY instead of ADD for local files, COPY --from pointing at an unknown stage, the last user being root, consecutive RUN instructions and the deprecated MAINTAINER. Every finding carries a rule code, a level and a line number, and the result can be downloaded as CSV.