Skip to content

Use AWF --enable-chroot mode and remove unnecessary --mount and --env flags #13379

@Mossaka

Description

@Mossaka

Summary

Adopt the new --enable-chroot feature from AWF v0.13.1 to simplify the generated workflow commands by removing unnecessary --mount and --env flags.

Background

AWF v0.13.1 introduced --enable-chroot mode which provides transparent access to host binaries (Python, Node.js, Go, etc.) while maintaining network isolation. This eliminates the need for explicit volume mounts and environment variable passthrough since the chroot environment has direct access to the host filesystem.

Blocked By

Changes Required

  1. Add --enable-chroot flag to AWF invocations in the workflow generator
  2. Remove unnecessary --mount flags that were previously needed to expose host binaries/paths
  3. Remove unnecessary --env flags that were previously needed to pass environment variables (chroot inherits host environment)

Benefits

  • Simpler generated workflow commands
  • Reduced configuration complexity
  • Better compatibility with host tools and environments
  • Cleaner workflow YAML output

Documentation

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions