shellcheckThis repository provides an automated build for a Apline with shellcheck Docker image.
To check the files one.sh and two.sh in your current directory:
docker run --rm -v "$PWD:/mnt" alastairhm/shellcheck ./one.sh ./two.sh
Or setup an alias
alias shellcheck='docker run --rm -v "$PWD:/mnt" alastairhm/shellcheck'
docker pull alastairhm/shellcheck:latest