Add dockerfile tests using hadolint

parent 6c90c9bf
......@@ -2,3 +2,12 @@ shellcheck:
image: koalaman/shellcheck-alpine
script: 'shellcheck deploy/base/ros_entrypoint.bash scripts/*sh'
allow_failure: yes
dockerfiles:
image: hadolint/hadolint:latest-debian
script:
- RET=0
- hadolint deploy/base/Dockerfile || RET=1
- hadolint deploy/dev/Dockerfile || RET=1
- exit $RET
allow_failure: yes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment