Hadolint
Hadolint is a static code analysis tool for Dockerfile’s. It supports the report format checkstyle
which is supported by Code Review Assistant out of the box.
Shell command
#!/bin/bash
for file in $(find . -name "Dockerfile" -type f); do hadolint --no-fail --format=checkstyle $file; done;
Example for Bamboo