diff --git a/kokoro/linux/build.sh b/kokoro/linux/build.sh index c202f0ecd3..1fcb77b729 100755 --- a/kokoro/linux/build.sh +++ b/kokoro/linux/build.sh @@ -31,7 +31,9 @@ else fi +# --privileged is required for some sanitizer builds, as they seem to require PTRACE privileges docker run --rm -i \ + --privileged \ --volume "${ROOT_DIR}:${ROOT_DIR}" \ --volume "${TMP_DIR}:/src" \ --volume "${KOKORO_ARTIFACTS_DIR}:/mnt/artifacts" \