dockerfile_lint
dockerfile_lint copied to clipboard
percent character causes the linter to hang
For example if you use a url in ADD that contains encoded characters:
ADD http://sample.com?sample=%5Bsample%5D sample.zip
linting this will just cause the linter to hang at the cli and never return
@scott2449 - I can't reproduce this in my environment. Can you provide more information about your environment (output of "npm version") as well as the complete Dockerfile you are linting?
@scott2449 - Same. I do get some errors that should be addressed with regex however
Line 12: -> ADD http://sample.com?sample=%5Bsample%5D sample.zip ERROR: Invalid parameters for command..
It happened with a dozen different docker files. If I add a percent anywhere it implodes. I'm on 6.9.1 of node locally (same happened in our jenkins w/ another revision of 6). I am on a Mac but Jenkins is Centos.