hadolint

hadolint#

hadolint は Dockerfile の linter ツール。

Github の Releases に最新のバイナリがあるため、ダウンロードしてパスを通しておく。

あとは

$ hadolint Dockerfile

でチェックができる。