Sign inSign up

augustohp/shellcheck

By augustohp

•Updated about 4 years ago

Image
0

193

augustohp/shellcheck repository overview

⁠ShellCheck

ShellCheck⁠ is a static analysis tool for shell-scripts.

⁠Usage

To check a single file, inside current working directory:

$ docker run -it --rm --name shellcheck -v "$(pwd):/mnt" augustohp/shellcheck 'file.sh'

To check all *.sh files, inside current working directory:

$ find "$(pwd) -type f -name '*.sh' | xargs docker run -it --rm --name shellcheck -v "$(pwd):/mnt" augustohp/shellcheck

⁠Credits

Tag summary

Content type

Image

Digest

sha256:4645f9ebd…

Size

1.5 MB

Last updated

about 4 years ago

docker pull augustohp/shellcheck