Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown instruction diagnostic parses escapes incorrectly #131

Closed
rcjsuen opened this issue Aug 5, 2017 · 0 comments
Closed

Unknown instruction diagnostic parses escapes incorrectly #131

rcjsuen opened this issue Aug 5, 2017 · 0 comments
Assignees
Labels

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Aug 5, 2017

FROM alpine
EXPOS\ 8080

Given the above Dockerfile, the language server will generate an error that says Unknown instruction: EXPOS080. However, the instruction is just the first word EXPOS\ so the parsing seems to be a little off here.

$ docker build .
Sending build context to Docker daemon  86.15MB
Error response from daemon: Dockerfile parse error line 2: unknown instruction: EXPOS\
@rcjsuen rcjsuen added the bug label Aug 5, 2017
@rcjsuen rcjsuen self-assigned this Aug 5, 2017
@rcjsuen rcjsuen closed this as completed in c978a25 Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant