Find unpinned base images
Apache 2.0Finds FROM instructions that use unpinned base images (CIS Docker Benchmark 4.2). Images without an explicit tag default to 'latest', which is not reproducible. Images pinned by digest are considered acceptable.
org. openrewrite. docker. search. FindUnpinnedBaseImagesmod run . --recipe= org. openrewrite. docker. search. FindUnpinnedBaseImagesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.