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

Warn if variable substitution does not have a semi-colon #37

Open
rcjsuen opened this issue Apr 20, 2018 · 0 comments
Open

Warn if variable substitution does not have a semi-colon #37

rcjsuen opened this issue Apr 20, 2018 · 0 comments

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Apr 20, 2018

The validator will not generate any errors for the following Dockerfile. We should check to make sure that such incomplete variables are warned about if possible.

FROM scratch
ARG aaa=${bbb
$ docker build .
Sending build context to Docker daemon  1.695MB
Step 1/2 : FROM scratch
 --->
Step 2/2 : ARG aaa=${bbb
failed to process "${bbb": missing ':' in substitution
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