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.Example for Bamboo:
Shell command
Code Block |
---|
#!/bin/bash for file in $(find . -name "Dockerfile" -type f); do hadolint --no-fail --format=checkstyle $file; done; |
Example for Bamboo
...