dev_container: Pass proxy setting

If running behind proxy, need to pass proxy setting for container as well,
otherwise can't pull crates properly. So this tries to add 'http_proxy'
and 'https_proxy' in environment for container.

Change-Id: I897703f571d9fe5bd03b819fc6b13a9e04384e6f
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5232200
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Zhenyu Wang 2024-01-24 14:23:16 +08:00 committed by crosvm LUCI
parent f85f1a4328
commit 7d57013ab8

View file

@ -89,6 +89,8 @@ PODMAN_ARGS = [
# Environment variables to pass through to the container if they are specified.
ENV_PASSTHROUGH = [
"NEXTEST_PROFILE",
"http_proxy",
"https_proxy",
]