Usage
# syntax=docker.io/docker/dockerfile-upstream:1.11.0
Notable changes
ONBUILD
command now supports commands that refer to other stages or images withfrom
, likeCOPY --from
orRUN mount=from=...
#5357SecretsUsedInArgOrEnv
check has been improved with better detection for false-positives #5208- New
InvalidDefinitionDescription
check has been added to recommend formatting comments in a way that their contents can become descriptions for build arguments and stages. This check is set to experimental in this release #5208 #5414 - Multiple fixes for
ONBUILD
instruction's progress and error handling #5397 - Error reporting for certain missing flag errors has been improved #5369
- Improve progress output for secret values mounted as environment variables #5336
- New automatic build argument
TARGETSTAGE
has been added to expose the name of the target stage for current build #5431