From 7d57013ab80fdcc9cda25c176ef9767f453fb247 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Wed, 24 Jan 2024 14:23:16 +0800 Subject: [PATCH] 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 Commit-Queue: Daniel Verkamp --- tools/dev_container | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/dev_container b/tools/dev_container index 6fbf44f66b..4636e6909c 100755 --- a/tools/dev_container +++ b/tools/dev_container @@ -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", ]