Skip to content

Instantly share code, notes, and snippets.

@gongo gongo/shellcheck
Last active Mar 29, 2017

What would you like to do?
Shellcheck wrapper using Docker image
dir="$(cd "$(dirname "$1")" && pwd)"
name="$(basename "$1")"
docker run --rm -v "${dir}:/scripts" koalaman/shellcheck "/scripts/${name}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.