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
The first Dockerfile is fine but the second one is not. Looks like the \ following the label immediately is the cause of this bug.
\
FROM scratch LABEL "a"="b" \ "c"="d"
FROM scratch LABEL "a"="b"\ "c"="d"
$ dockerfile-utils lint Dockerfile Line: 3 "c"="d" ^^^^ Error: LABEL names can not be blank
$ docker build . Sending build context to Docker daemon 47MB Step 1/2 : FROM scratch ---> Step 2/2 : LABEL "a"="b" "c"="d" ---> Running in c1d90c5f7985 Removing intermediate container c1d90c5f7985 ---> bdff47f2a0a5 Successfully built bdff47f2a0a5
The text was updated successfully, but these errors were encountered:
1ed7a03
rcjsuen
No branches or pull requests
The first Dockerfile is fine but the second one is not. Looks like the
\
following the label immediately is the cause of this bug.The text was updated successfully, but these errors were encountered: