(keyword string)
| 297 | } |
| 298 | |
| 299 | func descriptorFor(keyword string) descriptor { |
| 300 | if desc, ok := instructionDescriptors[keyword]; ok { |
| 301 | return desc |
| 302 | } |
| 303 | return descriptor{ |
| 304 | Effect: effectMetadata, |
| 305 | Explanation: "Recorded as metadata. It influences how containers start but does not add filesystem content.", |
| 306 | CacheHint: "Cache key ties to the literal instruction, so changing text invalidates the layer.", |
| 307 | } |
| 308 | } |
| 309 | |
| 310 | func ensureStage(rep *report, index int) *stageReport { |
| 311 | for len(rep.Stages) <= index { |