From: Florin Coras Date: Mon, 16 Jan 2023 21:21:35 +0000 (-0800) Subject: hs-test: add http proxy env to container builds X-Git-Tag: v23.06-rc0~9 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=a35f56663fe6dde5da13fd52fa50a28080f6dd2f;p=vpp.git hs-test: add http proxy env to container builds Type: improvement Signed-off-by: Florin Coras Change-Id: I8c116efb41d561e30fd0db1388cdba903e2edffe --- 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 .