forked from mtusi2026/mtusi2026lab7
test: verify security boundaries and recovery
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
script_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
repo_dir=$(CDPATH= cd -- "$script_dir/.." && pwd)
|
||||
env_file=${ENV_FILE:-$repo_dir/lab7.env.example}
|
||||
|
||||
exec docker compose --project-directory "$repo_dir" --env-file "$env_file" run --rm --no-deps -T \
|
||||
-v "$repo_dir:$repo_dir:ro" openbao-cli "$@"
|
||||
Reference in New Issue
Block a user