docker-tools
docker-tools copied to clipboard
FROM image parsing logic doesn't handle `FROM` in comments
With the following Dockerfile, the parsing logic incorrectly detects SOURCE
as an external dependency and tries to pull it when building.
FROM microsoft/dotnet-buildtools-prereqs:alpine-3.6
RUN apk update
ENV NODE_VERSION 10.13.0
### BUILD NODE FROM SOURCE