mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-22 13:37:02 +01:00
176fb96fa4
IMP: search for all .sh files to shellcheck If no file is passed as argument, shellchek will be run on all .sh files Fix dockerfile location and expand full shellcheck options
8 lines
190 B
Bash
Executable File
8 lines
190 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
dockerfile="$(dirname "$0")/Dockerfile.shellcheck"
|
|
docker build -f "$dockerfile" -t debiancis-shellcheck "$(dirname "$0")"/../
|
|
docker run --rm debiancis-shellcheck "$@"
|
|
|