Skip to content

"ERROR: Invalid parameters for command" for ENV value containing asterisk #146

@robolivable

Description

@robolivable

dockerfile:

FROM alpine

ENV test=*.aws.com

linter:

$ dockerfile_lint -f dockerfile_test

# Analyzing dockerfile_test


--------ERRORS---------

Line 3: -> ENV test=*.aws.com
ERROR: Invalid parameters for command..
Reference -> https://docs.docker.com/engine/reference/builder/

It is normal to have asterisks in environment variables, this should not show up as an error in the linter.

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