Commit Graph

4 Commits

Author SHA1 Message Date
Zuul
b1796384f7 Merge "Validate Dockerfile indentation in pep8" 2018-01-17 07:41:41 +00:00
Jeffrey Zhang
898caa8c4c Make validate-all-dockerfile work with python3
Change-Id: I9895c958a4cea91fca014d8f28f448a00b2ae02c
2018-01-09 15:14:17 +08:00
Martin André
3364720f34 Validate Dockerfile indentation in pep8
Delegate code style validation to computers, they're better than human
at it :)

This commit adds a new `tools/validate-indentation.sh` script that
errors when it finds an indented Dockerfile instruction, and enables
the validation in the pep8 check.

Also adjust the logic of `tools/validate-all-dockerfiles.sh` so that it
doesn't stop on first errors but instead shows all of them.

Fixes the remaining indentations in Dockerfiles.

Change-Id: I53c0d38304cb4f6d64a5dfab67f70d69b3eae587
2017-12-05 10:53:49 +01:00
Swapnil Kulkarni (coolsvap)
eb1bfc2c2e Add support to lint the install commands in Dockerfiles
Change-Id: Icb47ba8b13b13889e28bb285321f11344400edc2
Closes-Bug:#1582618
2016-05-26 17:41:42 +05:30