Skip to content

build: Support proxy build arguments

This fixes a regression where support for HTTP_PROXY, HTTPS_PROXY,
FTP_PROXY, NO_PROXY, ALL_PROXY build arguments was lost due to the
LLB-only refactor.

Respect these build arguments by passing a respective llb.ProxyEnv run
option for all run related exec operations (target.RunEntrypoint,
target.Run, and target.RunShell).

Bug: T367922

Merge request reports