diff --git a/scripts/zap-baseline.sh b/scripts/zap-baseline.sh index 9efcdc8..e55083a 100755 --- a/scripts/zap-baseline.sh +++ b/scripts/zap-baseline.sh @@ -16,6 +16,8 @@ echo "Running ZAP baseline against $TARGET (timeout ${TIMEOUT_MINUTES}m)..." docker run --rm \ -u "$(id -u)":"$(id -g)" \ -v "$PWD/$REPORT_DIR":/zap/wrk \ + -w /zap/wrk \ + -e HOME=/zap/wrk \ "$ZAP_IMAGE" zap-baseline.py \ -t "$TARGET" \ -x zap-report.xml \