debian-cis/shellcheck/docker_build_and_run_shellcheck.sh

8 lines
190 B
Bash
Raw Normal View History

#!/bin/bash
set -e
dockerfile="$(dirname "$0")/Dockerfile.shellcheck"
docker build -f "$dockerfile" -t debiancis-shellcheck "$(dirname "$0")"/../
docker run --rm debiancis-shellcheck "$@"