mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-07-26 04:27:50 +00:00
locate configuration file before we run the tests #410
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
19173cb954
commit
269b71eed8
3 changed files with 11 additions and 3 deletions
|
@ -93,6 +93,9 @@ beginjson "$version" "$(date +%s)"
|
|||
|
||||
# Load all the tests from tests/ and run them
|
||||
main () {
|
||||
# Get configuration location
|
||||
get_docker_configuration_file
|
||||
|
||||
# If there is a container with label docker_bench_security, memorize it:
|
||||
benchcont="nil"
|
||||
for c in $(docker ps | sed '1d' | awk '{print $NF}'); do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue