This is a CodeClimate engine that implements a Dockerfile linter.
Install the CodeClimate CLI:
curl -L https://github.com/codeclimate/codeclimate/archive/master.tar.gz | tar xvz
cd codeclimate-* && sudo make install
cd ..
Build this container:
sudo docker build -t codeclimate/codeclimate-dockerfilelint .
Enable this engine in your .codeclimate.yml
file:
engines:
dockerfilelint:
enabled: true
Run the linter in a project that contains files with "Dockerfile" in the title
sudo codeclimate analyze --dev