File size: 506 Bytes
da0ce7b
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
# Docker deployment test is disabled until the native protection boundary is approved.
set -euo pipefail

ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../../.." && pwd)"
BOOTSTRAP="$ROOT/scripts/bootstrap/protected_bootstrap_v05.py"

if [ ! -r "$BOOTSTRAP" ] || [ ! -x /usr/bin/python3 ]; then
  echo "Protected Docker test bootstrap unavailable; refusing build/runtime mutation." >&2
  exit 1
fi

exec /usr/bin/python3 -I -S -B "$BOOTSTRAP" --target-id docker-runtime