Expected behavior
No errors. There is no need to copy paste LABEL section because at the end only the final stage will be saved.
Actual behavior
Errors about missing label
Dockerfile:1 DL3049 info: Label `team` is missing.
Dockerfile:1 DL3049 info: Label `maintainer` is missing.
Steps to reproduce the behavior
Output of hadolint --version or
docker run --rm hadolint/hadolint hadolint --version or
docker run --rm ghcr.io/hadolint/hadolint hadolint --version:
Haskell Dockerfile Linter 2.8.0
Dockerfile (if relevant)
FROM alpine:3.11 as build
....
FROM alpine:3.11
LABEL team="devops" maintainer="example.com"
.....
Additional environment details (OS, stack version, etc.)