Image Descriptor and Modules


This chapter applies to builder engines that use Dockerfile as the input.

While module processing chapter covered the template processing modules this section describes how the image processing interacts with the module processing.

Module installation

Final Stages

This encompasses defining the USER, the WORKDIR, and ENTRYPOINT. Finally the RUN command is generated.

Final Image Stages

This encompasses the final part of the generation for the image descriptor which may include e.g. package installation. Note that this happens after modules have been included and processed.