8000 Warn if variable substitution does not have a semi-colon · Issue #37 · rcjsuen/dockerfile-utils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Warn if variable substitution does not have a semi-colon #37
Open
@rcjsuen

Description

@rcjsuen

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0