Optimize Docker builds
Apache 2.0Apply build optimization best practices to Dockerfiles. This includes combining RUN instructions to reduce layers and adding cleanup commands to reduce image size.
org. openrewrite. docker. DockerBuildOptimizationmod run . --recipe= org. openrewrite. docker. DockerBuildOptimizationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.