docker-tools icon indicating copy to clipboard operation
docker-tools copied to clipboard

FROM image parsing logic doesn't handle `FROM` in comments

Open MichaelSimons opened this issue 6 years ago • 0 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

MichaelSimons avatar Nov 15 '18 20:11 MichaelSimons