We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I create a Dockerfile with the following contents
FROM ${VAR:-ignore}
I get a diagnostic error:
dockerfile-utils: base name (${VAR:-ignore}) should not be blank [51]
The :- syntax provides a default value so if $VAR is blank, ignore is used instead, so there's no way for the image name to be blank.
:-
$VAR
ignore
The text was updated successfully, but these errors were encountered:
@duckbrain Thank you for bringing this to our attention. I have opened rcjsuen/dockerfile-utils#126 to track this.
Sorry, something went wrong.
88a0b2c
@duckbrain Thanks again for the bug report. The latest 0.13.0 release of the language server should not flag this as an error anymore.
No branches or pull requests
If I create a Dockerfile with the following contents
FROM ${VAR:-ignore}
I get a diagnostic error:
The
:-
syntax provides a default value so if$VAR
is blank,ignore
is used instead, so there's no way for the image name to be blank.The text was updated successfully, but these errors were encountered: