["/work/configure"],
env=env | config.environment,
sandbox=config.sandbox(
- tools=Path("/"),
+ tools=False,
mounts=[*sources, Mount(script, "/work/configure", ro=True)],
options=["--dir", "/work/src", "--chdir", "/work/src"]
),
["/work/clean"],
env=env | config.environment,
sandbox=config.sandbox(
- tools=Path("/"),
+ tools=False,
mounts=[
*sources,
Mount(script, "/work/clean", ro=True),
network: bool = False,
devices: bool = False,
relaxed: bool = False,
- tools: Optional[Path] = None,
+ tools: bool = True,
scripts: Optional[Path] = None,
mounts: Sequence[Mount] = (),
options: Sequence[PathString] = (),
devices=devices,
relaxed=relaxed,
scripts=scripts,
- tools=tools or self.tools(),
+ tools=self.tools() if tools else Path("/"),
mounts=mounts,
options=options,
extra=extra,