replicatedhq / dockerfilelint

An opinionated Dockerfile linter.
https://www.fromlatest.io
MIT License
992 stars 83 forks source link

Multi-Stage builds incorrectly expect a version label #183

Open Hades32 opened 3 years ago

Hades32 commented 3 years ago

E.g.

FROM alpine:3.13 as base

RUN apk add --no-cache nodejs~=14 npm~=14

FROM base as builder

COPY package.json package-lock.json ./
# ...

Complains about base not having a label