Docker 28.3.x 之後的版本(Dockerfile 參數寫法改變),在 docker build 的階段就不給過,會遇到下述幾個問題:
- ConsistentInstructionCasing: Command 'Label' should match the case of the command majority (uppercase)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
要怎麼解決呢?