mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Add new programs to the list of required programs
This commit is contained in:
parent
519f20befd
commit
58205d4ef5
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ readonly myname
|
||||||
export PATH="$PATH:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin/"
|
export PATH="$PATH:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin/"
|
||||||
|
|
||||||
# Check for required program(s)
|
# Check for required program(s)
|
||||||
req_progs='awk docker grep stat'
|
req_progs='awk docker grep stat tee tail wc xargs truncate'
|
||||||
for p in $req_progs; do
|
for p in $req_progs; do
|
||||||
command -v "$p" >/dev/null 2>&1 || { printf "%s command not found.\n" "$p"; exit 1; }
|
command -v "$p" >/dev/null 2>&1 || { printf "%s command not found.\n" "$p"; exit 1; }
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue