From a35f56663fe6dde5da13fd52fa50a28080f6dd2f Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 16 Jan 2023 13:21:35 -0800 Subject: hs-test: add http proxy env to container builds Type: improvement Signed-off-by: Florin Coras Change-Id: I8c116efb41d561e30fd0db1388cdba903e2edffe --- extras/hs-test/script/build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'extras/hs-test') diff --git a/extras/hs-test/script/build.sh b/extras/hs-test/script/build.sh index 9860ba231b7..f52025c9092 100755 --- a/extras/hs-test/script/build.sh +++ b/extras/hs-test/script/build.sh @@ -21,5 +21,7 @@ if [ $res -ne 0 ]; then exit 1 fi -docker build --build-arg UBUNTU_VERSION -t hs-test/vpp -f docker/Dockerfile.vpp . -docker build --build-arg UBUNTU_VERSION -t hs-test/nginx-ldp -f docker/Dockerfile.nginx . +docker build --build-arg UBUNTU_VERSION --build-arg http_proxy=$HTTP_PROXY \ + -t hs-test/vpp -f docker/Dockerfile.vpp . +docker build --build-arg UBUNTU_VERSION --build-arg http_proxy=$HTTP_PROXY \ + -t hs-test/nginx-ldp -f docker/Dockerfile.nginx . -- cgit 1.2.3-korg