ReservedStageName
目录
输出
'scratch' is reserved and should not be used as a stage name描述
保留字不应用作多阶段构建中阶段的名称。 保留字为:
contextscratch
例子
❌ 坏:scratch和context是保留名称。
FROM alpine AS scratch
FROM alpine AS context✅ Good:阶段名称builder不保留。
FROM alpine AS builder