What does the `--no-cache` and `--pull` build flags do?
IntermediateConceptDockerfile Instructions & Builds
Answer
--no-cache ignores the build cache for all steps. --pull always checks the registry for a newer version of the base image (otherwise a local copy is reused). For reproducible CI patching, use --pull rather than --no-cache to avoid rebuilding everything needlessly.