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

Referencing a tagged image in a private registry in FROM causes an invalid error #39

Closed
rcjsuen opened this issue May 19, 2018 · 0 comments
Assignees
Labels

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented May 19, 2018

The extra semi-colon at the end is causing parsing problems in the validator.

FROM privateregistry.com:5000/image:tag
FROM localhost:1234/node:9
FROM 123.22.33.123:2345/user/image:tag2
$ dockerfile-utils lint Dockerfile
Line: 1
FROM privateregistry.com:5000/image:tag
                                    ^^^
Error: invalid reference format

Line: 2
FROM localhost:1234/node:9
                         ^
Error: invalid reference format

Line: 3
FROM 123.22.33.123:2345/user/image:tag2
                                   ^^^^
Error: invalid reference format
@rcjsuen rcjsuen added the bug label May 19, 2018
@rcjsuen rcjsuen self-assigned this May 28, 2018
rcjsuen pushed a commit that referenced this issue Jun 21, 2018
Another bug in the Microsoft/vscode-docker repository was opened
about this problem.

microsoft/vscode-docker#280

Signed-off-by: Remy Suen <[email protected]>
rcjsuen added a commit that referenced this issue Jun 21, 2018
Another bug in the Microsoft/vscode-docker repository was opened
about this problem.

microsoft/vscode-docker#280

Signed-off-by: Remy Suen <[email protected]>
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