dockerfile_lint icon indicating copy to clipboard operation
dockerfile_lint copied to clipboard

Tag use can crash the the unit tests

Open roadSurfer opened this issue 5 years ago • 1 comments

Change the tag in "test/data/dockerfiles/TestLabels" from "sometag" to "some-tag". Now run the tests with "node bin/dockerfile_lint --json -f test/data/dockerfiles/TestLabels -f test/data/dockerfiles/TestLabels -p -r test/data/rules/basic.yaml"

Observe that they fail with "Invalid parameters for command." on the "FROM" command.

Not quite sure what is going on there, but I would expect "some-tag", "some_tag" etc to all work without issue.

roadSurfer avatar Mar 19 '19 10:03 roadSurfer

I think this could be related to issue 105

roadSurfer avatar Mar 19 '19 10:03 roadSurfer