dockerfile_lint
dockerfile_lint copied to clipboard
"ERROR: Invalid parameters for command" for ENV value containing asterisk
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.