EnvScope
A with block that confines env variables to the RUN commands inside.
Usage
EnvScope()Returned by Stage.env. Inside the block, the variables are exported ahead of each RUN rather than emitted as a stage-wide ENV, so they do not leak into the image. You rarely construct this directly.
Parameter Attributes
stage: Stageenv: dict[str, str]