This repository provides the runtime infrastructure and Gramine configurations for Weave, a confidential computing framework built on top of Spark. This repository provides streamlined Gramine manifests, Spark environment tuning, and reproducible test cases for JVM, Scala, and Spark workloads running inside enclaves.
This project disables Poetry's virtual environments only inside containers (Docker, Azure ACI, etc.) using the following detection:
/proc/1/cgroup
contains container keywords- Presence of
/.dockerenv
- Or if you set:
export WEAVE_IN_CONTAINER=1
Outside containers, Poetry continues to use isolated virtual environments to avoid polluting the host Python setup.
You can force container behavior manually by setting:
export WEAVE_IN_CONTAINER=1