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

Create diagnostic if ENV instruction doesn't use the = form properly #74

Closed
rcjsuen opened this issue Jul 15, 2017 · 0 comments
Closed
Assignees

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Jul 15, 2017

FROM alpine
ENV x=y a

If you try to build the above Dockerfile, you will get an error from the builder. We should create a similar diagnostic to warn the user about this.

Error response from daemon: Syntax error - can't find = in "a". Must be of the form: name=value
@rcjsuen rcjsuen self-assigned this Jul 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant