rendering()
Report whether a render pass is in progress.
Usage
rendering()Returns True while Dockerfile.render is re-executing a recipe, and False during the discovery import. Use it to guard code that should run only when the build is live.
Returns
bool-
Trueduring the render pass,Falseduring discovery.