dotnet / dotnet/docker-tools

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

Open
#126 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
181
Forks
67
Avg merge
2d 15h
Merged PRs (30d)
10

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.