Govur University Logo
--> --> --> -->
...

What specific Dockerfile technique is used to create very small images by removing build-time tools and dependencies from the final runtime image?



The specific Dockerfile technique used to create very small images by removing build-time tools and dependencies from the final runtime image is called multi-stage builds. This technique is implemented by using multiple `FROM` instructions within a single Dockerfile, where each `FROM` statement initiates a new, independent build stage. The core idea is to separate the environment required for building an application from the environment needed solely for running it. An initial stage, often called the builder stage, util....

Log in to view the answer



Redundant Elements