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

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions