Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Build error when label's key in Dockerfile has quotes #340

Open
belaaiza opened this issue Jul 27, 2020 · 0 comments
Open

Build error when label's key in Dockerfile has quotes #340

belaaiza opened this issue Jul 27, 2020 · 0 comments

Comments

@belaaiza
Copy link

Describe the bug
Building an image which the Dockerfile has the following labels:

LABEL "Author"="Some Value"
LABEL "Service"="sboot-app-name"

Error message:

ERROR failed to create build plan: failed to get dockerfile: failed to parse dockerfile: failed to create new directive (line 2): invalid character in variable key: "

To Reproduce
makisu build with a Dockerfile containing quotes on label key

Expected behavior
As at docker docs quotes are valid in label keys, I expect that the image is built correctly.

@belaaiza belaaiza changed the title Build error when label's key in Dockerfiles has quotes Build error when label's key in Dockerfile has quotes Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant