Commit Graph

1 Commits

Author SHA1 Message Date
Adi (Suissa) Peleg 1b29b5d76b
envoy: add WORKSPACE file to override the default (#10319)
Due to a [recent PR](https://github.com/envoyproxy/envoy/pull/27233),
Envoy uses the `python_register_toolchains` macro that prevents using
python under the root user. This prevents the [build of the
fuzzers](https://oss-fuzz-build-logs.storage.googleapis.com/log-c98579dd-6bc2-4b97-8c41-7ca4e37c219c.txt)
with the following error:
```
Error in fail: The current user is root, please run as non-root when using the hermetic Python interpreter
```

This PR overrides the WORKSPACE file, allowing the building of the
fuzzers with the root user.

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
2023-05-12 21:15:15 +01:00