Skip to content

Misleading error log - Dockerfile parse error line 2: ARG names can not be blank #110

@dangspaceiq

Description

@dangspaceiq

Error response from daemon: Dockerfile parse error line 2: ARG names can not be blank.

Dockerfile contains:

ARG ARG_AWS_ACCESS_KEY_ID = "NOTSET"

The error goes away if you remove the spaces around the equal sign.

It should wether:

  1. Handle spaces
  2. Log the error specifying what needs to be corrected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions