dockerfile_lint icon indicating copy to clipboard operation
dockerfile_lint copied to clipboard

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

Open robolivable opened this issue 3 years ago • 0 comments

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.

robolivable avatar Jun 30 '21 00:06 robolivable